coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
hob_display.c File Reference
#include <console/console.h>
#include <fsp/util.h>
#include <lib.h>
#include <soc/hob_mem.h>
Include dependency graph for hob_display.c:

Go to the source code of this file.

Data Structures

struct  guid_name_map
 

Functions

const char * soc_get_hob_type_name (const struct hob_header *hob)
 
const char * soc_get_guid_name (const uint8_t *guid)
 
void soc_display_hob (const struct hob_header *hob)
 
void soc_display_fsp_smbios_memory_info_hob (const FSP_SMBIOS_MEMORY_INFO *memory_info_hob)
 

Variables

static const uint8_t fsp_hob_resource_owner_graphics_guid [16]
 
static const uint8_t fsp_hob_resource_owner_fiamux_guid [16]
 
static const uint8_t fsp_hob_fast_boot_checker_guid [16]
 
static const struct guid_name_map guid_names []
 

Function Documentation

◆ soc_display_fsp_smbios_memory_info_hob()

void soc_display_fsp_smbios_memory_info_hob ( const FSP_SMBIOS_MEMORY_INFO *  memory_info_hob)

Definition at line 60 of file hob_display.c.

References BIOS_DEBUG, and printk.

Referenced by soc_save_dimm_info().

Here is the caller graph for this function:

◆ soc_display_hob()

void soc_display_hob ( const struct hob_header hob)

Definition at line 55 of file hob_display.c.

References hexdump(), and hob_header::length.

Here is the call graph for this function:

◆ soc_get_guid_name()

const char* soc_get_guid_name ( const uint8_t guid)

Definition at line 43 of file hob_display.c.

References ARRAY_SIZE, fsp_guid_compare(), guid_name_map::guid, guid_names, name, and NULL.

Here is the call graph for this function:

◆ soc_get_hob_type_name()

const char* soc_get_hob_type_name ( const struct hob_header hob)

Definition at line 37 of file hob_display.c.

References NULL.

Variable Documentation

◆ fsp_hob_fast_boot_checker_guid

const uint8_t fsp_hob_fast_boot_checker_guid[16]
static
Initial value:
= {
0x7b, 0xf0, 0x97, 0x78, 0xda, 0x0c, 0xe3, 0x40,
0xb4, 0xe4, 0x51, 0x5f, 0x47, 0x3b, 0x04, 0xb6
}

Definition at line 18 of file hob_display.c.

◆ fsp_hob_resource_owner_fiamux_guid

const uint8_t fsp_hob_resource_owner_fiamux_guid[16]
static
Initial value:
= {
0x2e, 0x49, 0xad, 0x26, 0x51, 0xf9, 0x43, 0x4e,
0xbc, 0x72, 0x22, 0x76, 0x58, 0xb1, 0xf6, 0x23
}

Definition at line 13 of file hob_display.c.

◆ fsp_hob_resource_owner_graphics_guid

const uint8_t fsp_hob_resource_owner_graphics_guid[16]
static
Initial value:
= {
0xa7, 0x3a, 0x7c, 0x9c, 0x32, 0x55, 0x17, 0x49,
0x82, 0xb9, 0x56, 0xa5, 0xf3, 0xe6, 0x2a, 0x07
}

Definition at line 8 of file hob_display.c.

◆ guid_names

const struct guid_name_map guid_names[]
static
Initial value:
= {
"FSP_HOB_RESOURCE_OWNER_GRAPHICS_GUID" },
"FSP_HOB_RESOURCE_OWNER_FIAMUX_GUID" },
"FSP_HOB_FAST_BOOT_CHECKER_GUID" },
}
static const uint8_t fsp_hob_resource_owner_fiamux_guid[16]
Definition: hob_display.c:13
static const uint8_t fsp_hob_fast_boot_checker_guid[16]
Definition: hob_display.c:18
static const uint8_t fsp_hob_resource_owner_graphics_guid[16]
Definition: hob_display.c:8

Definition at line 18 of file hob_display.c.

Referenced by soc_get_guid_name().