coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <commonlib/bsd/compiler.h>
#include <console/console.h>
#include <fsp/util.h>
#include <lib.h>
Go to the source code of this file.
Data Structures | |
struct | perf_record_hdr |
struct | generic_event_record |
struct | fpdt_pei_ext_perf_header |
Macros | |
#define | TIMESTAMP_MS(x) ((x) / 1000ull) |
Enumerations | |
enum | fpdt_record_type { FPDT_GUID_EVENT = 0x1010 , FPDT_STRING_EVENT = 0x1011 } |
Functions | |
static void | print_guid_record (const struct generic_event_record *rec) |
static void | print_string_record (const struct generic_event_record *rec) |
static void | print_fsp_perf_timestamp (const struct generic_event_record *rec) |
static void | print_fsp_timestamp_header (void) |
void | fsp_display_timestamp (void) |
Variables | |
static const uint8_t | fpdt_guid [16] |
struct perf_record_hdr | __packed |
Definition at line 8 of file fsp_timestamp.c.
enum fpdt_record_type |
Enumerator | |
---|---|
FPDT_GUID_EVENT | |
FPDT_STRING_EVENT |
Definition at line 15 of file fsp_timestamp.c.
Definition at line 86 of file fsp_timestamp.c.
References BIOS_INFO, fpdt_guid, fsp_find_extension_hob_by_guid(), generic_event_record::header, perf_record_hdr::length, print_fsp_perf_timestamp(), print_fsp_timestamp_header(), printk, and fpdt_pei_ext_perf_header::table_size.
Referenced by fsp_silicon_init().
|
static |
Definition at line 62 of file fsp_timestamp.c.
References BIOS_INFO, FPDT_GUID_EVENT, FPDT_STRING_EVENT, generic_event_record::header, print_guid_record(), print_string_record(), printk, and perf_record_hdr::type.
Referenced by fsp_display_timestamp().
Definition at line 77 of file fsp_timestamp.c.
References BIOS_INFO, and printk.
Referenced by fsp_display_timestamp().
|
static |
Definition at line 46 of file fsp_timestamp.c.
References BIOS_INFO, fsp_print_guid(), generic_event_record::guid, printk, generic_event_record::progress_id, generic_event_record::timestamp, and TIMESTAMP_MS.
Referenced by print_fsp_perf_timestamp().
|
static |
Definition at line 53 of file fsp_timestamp.c.
References BIOS_INFO, fsp_print_guid(), generic_event_record::guid, generic_event_record::header, perf_record_hdr::length, offsetof, printk, generic_event_record::progress_id, generic_event_record::string, generic_event_record::timestamp, and TIMESTAMP_MS.
Referenced by print_fsp_perf_timestamp().
struct fpdt_pei_ext_perf_header __packed |
|
static |
Definition at line 10 of file fsp_timestamp.c.
Referenced by fsp_display_timestamp().