coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
hob_display.c File Reference
#include <assert.h>
#include <console/console.h>
#include <fsp/util.h>
#include <hob_iiouds.h>
#include <hob_memmap.h>
#include <hob_prevbooterr.h>
#include <lib.h>
#include <soc/soc_util.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_guid_name (const uint8_t *guid)
 
static void soc_display_memmap_hob (const struct SystemMemoryMapHob **hob_addr)
 
static void soc_display_iio_universal_data_hob (const IIO_UDS *hob)
 
static void soc_display_prevbooterr_hob (const PREV_BOOT_ERR_SRC_HOB *hob)
 
void soc_display_hob (const struct hob_header *hob)
 

Variables

static const uint8_t fsp_hob_iio_uds_guid [16] = FSP_HOB_IIO_UNIVERSAL_DATA_GUID
 
static const uint8_t fsp_hob_memmap_guid [16] = FSP_SYSTEM_MEMORYMAP_HOB_GUID
 
static const uint8_t fsp_hob_prevbooterr_guid [16] = FSP_PREV_BOOT_ERR_SRC_HOB_GUID
 
static const struct guid_name_map guid_names []
 

Function Documentation

◆ soc_display_hob()

◆ soc_display_iio_universal_data_hob()

static void soc_display_iio_universal_data_hob ( const IIO_UDS *  hob)
static

Definition at line 69 of file hob_display.c.

References BIOS_DEBUG, hexdump(), printk, s, and x.

Referenced by soc_display_hob().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ soc_display_memmap_hob()

static void soc_display_memmap_hob ( const struct SystemMemoryMapHob **  hob_addr)
static

Definition at line 39 of file hob_display.c.

References BIOS_DEBUG, hexdump(), and printk.

Referenced by soc_display_hob().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ soc_display_prevbooterr_hob()

static void soc_display_prevbooterr_hob ( const PREV_BOOT_ERR_SRC_HOB *  hob)
static

Definition at line 179 of file hob_display.c.

References BIOS_DEBUG, BIOS_ERR, BIOS_INFO, hexdump(), printk, and type.

Referenced by soc_display_hob().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ soc_get_guid_name()

const char* soc_get_guid_name ( const uint8_t guid)

Definition at line 27 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:

Variable Documentation

◆ fsp_hob_iio_uds_guid

const uint8_t fsp_hob_iio_uds_guid[16] = FSP_HOB_IIO_UNIVERSAL_DATA_GUID
static

Definition at line 12 of file hob_display.c.

Referenced by soc_display_hob().

◆ fsp_hob_memmap_guid

const uint8_t fsp_hob_memmap_guid[16] = FSP_SYSTEM_MEMORYMAP_HOB_GUID
static

Definition at line 13 of file hob_display.c.

Referenced by soc_display_hob().

◆ fsp_hob_prevbooterr_guid

const uint8_t fsp_hob_prevbooterr_guid[16] = FSP_PREV_BOOT_ERR_SRC_HOB_GUID
static

Definition at line 14 of file hob_display.c.

Referenced by soc_display_hob().

◆ guid_names

const struct guid_name_map guid_names[]
static
Initial value:
= {
{ fsp_hob_iio_uds_guid, "FSP_HOB_IIO_UNIVERSAL_DATA_GUID" },
{ fsp_hob_memmap_guid, "FSP_SYSTEM_MEMORYMAP_HOB_GUID" },
{ fsp_hob_prevbooterr_guid, "FSP_PREV_BOOT_ERR_SRC_HOB_GUID" },
}
static const uint8_t fsp_hob_memmap_guid[16]
Definition: hob_display.c:13
static const uint8_t fsp_hob_iio_uds_guid[16]
Definition: hob_display.c:12
static const uint8_t fsp_hob_prevbooterr_guid[16]
Definition: hob_display.c:14

Definition at line 14 of file hob_display.c.

Referenced by soc_get_guid_name().