TianoCore EDK2 master
|
#include "UefiPayloadEntry.h"
#include <UniversalPayload/AcpiTable.h>
#include <UniversalPayload/SerialPortInfo.h>
#include <UniversalPayload/PciRootBridges.h>
#include <UniversalPayload/ExtraData.h>
#include <Guid/MemoryTypeInformation.h>
#include <Guid/AcpiBoardInfoGuid.h>
#include <Library/HobPrintLib.h>
Go to the source code of this file.
Data Structures | |
struct | GUID_HOB_PRINT_HANDLE |
Typedefs | |
typedef EFI_STATUS(* | GUID_HOB_PRINT) (IN UINT8 *HobRaw, IN UINT16 HobLength) |
Functions | |
EFI_STATUS | PrintAcpiGuidHob (IN UINT8 *HobRaw, IN UINT16 HobLength) |
EFI_STATUS | PrintSerialGuidHob (IN UINT8 *HobRaw, IN UINT16 HobLength) |
EFI_STATUS | PrintSmbios3GuidHob (IN UINT8 *HobRaw, IN UINT16 HobLength) |
EFI_STATUS | PrintSmbiosTablGuidHob (IN UINT8 *HobRaw, IN UINT16 HobLength) |
EFI_STATUS | PrintAcpiBoardInfoGuidHob (IN UINT8 *HobRaw, IN UINT16 HobLength) |
EFI_STATUS | PrintPciRootBridgeInfoGuidHob (IN UINT8 *HobRaw, IN UINT16 HobLength) |
EFI_STATUS | PrintExtraDataGuidHob (IN UINT8 *HobRaw, IN UINT16 HobLength) |
EFI_STATUS | PrintMemoryTypeInfoGuidHob (IN UINT8 *HobRaw, IN UINT16 HobLength) |
EFI_STATUS | InternalPrintGuidHob (IN VOID *HobStart, IN UINT16 HobLength) |
EFI_STATUS | InternalPrintMemoryPoolHob (IN VOID *HobStart, IN UINT16 HobLength) |
EFI_STATUS | InternalPrintHobs (IN VOID *HobStart, IN UINT16 HobLength) |
VOID | PrintHob (IN CONST VOID *HobStart) |
Variables | |
GUID_HOB_PRINT_HANDLE | GuidHobPrintHandleTable [] |
Copyright (c) 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PrintHob.c.
typedef EFI_STATUS(* GUID_HOB_PRINT) (IN UINT8 *HobRaw, IN UINT16 HobLength) |
Definition at line 16 of file PrintHob.c.
EFI_STATUS InternalPrintGuidHob | ( | IN VOID * | HobStart, |
IN UINT16 | HobLength | ||
) |
Print the Guid Hob using related print handle function.
[in] | HobStart | A pointer to the HOB of type EFI_HOB_TYPE_GUID_EXTENSION. |
[in] | HobLength | The length in bytes of the HOB of type EFI_HOB_TYPE_GUID_EXTENSION. |
EFI_SUCCESS | If it completed successfully. |
EFI_UNSUPPORTED | If the HOB GUID is not supported. |
Definition at line 291 of file PrintHob.c.
EFI_STATUS InternalPrintHobs | ( | IN VOID * | HobStart, |
IN UINT16 | HobLength | ||
) |
HOB Print Handler to print Guid Hob.
[in] | HobStart | A pointer to the HOB of type EFI_HOB_TYPE_GUID_EXTENSION. |
[in] | HobLength | The length in bytes of the HOB of type EFI_HOB_TYPE_GUID_EXTENSION. |
EFI_SUCCESS | If it completed successfully. |
EFI_UNSUPPORTED | If the HOB type is not supported. |
Definition at line 339 of file PrintHob.c.
EFI_STATUS InternalPrintMemoryPoolHob | ( | IN VOID * | HobStart, |
IN UINT16 | HobLength | ||
) |
Print the information in MemoryPoolHob.
[in] | HobStart | A pointer to the HOB of type EFI_HOB_TYPE_MEMORY_POOL. |
[in] | HobLength | The length in bytes of the HOB of type EFI_HOB_TYPE_MEMORY_POOL. |
EFI_SUCCESS | If it completed successfully. |
Definition at line 321 of file PrintHob.c.
EFI_STATUS PrintAcpiBoardInfoGuidHob | ( | IN UINT8 * | HobRaw, |
IN UINT16 | HobLength | ||
) |
Print the information in Acpi BoardInfo Guid Hob.
[in] | HobRaw | A pointer to the start of gUefiAcpiBoardInfoGuid HOB. |
[in] | HobLength | The size of the HOB data buffer. |
EFI_SUCCESS | If it completed successfully. |
Definition at line 131 of file PrintHob.c.
EFI_STATUS PrintAcpiGuidHob | ( | IN UINT8 * | HobRaw, |
IN UINT16 | HobLength | ||
) |
Print the information in Acpi Guid Hob.
[in] | HobRaw | A pointer to the start of gUniversalPayloadAcpiTableGuid HOB. |
[in] | HobLength | The size of the HOB data buffer. |
EFI_SUCCESS | If it completed successfully. |
Definition at line 37 of file PrintHob.c.
EFI_STATUS PrintExtraDataGuidHob | ( | IN UINT8 * | HobRaw, |
IN UINT16 | HobLength | ||
) |
Print the information in Extra Data Guid Hob.
[in] | HobRaw | A pointer to the start of gUniversalPayloadExtraDataGuid HOB. |
[in] | HobLength | The size of the HOB data buffer. |
EFI_SUCCESS | If it completed successfully. |
Definition at line 219 of file PrintHob.c.
Print all HOBs info from the HOB list.
[in] | HobStart | A pointer to the HOB list |
Definition at line 362 of file PrintHob.c.
EFI_STATUS PrintMemoryTypeInfoGuidHob | ( | IN UINT8 * | HobRaw, |
IN UINT16 | HobLength | ||
) |
Print the information in MemoryTypeInfoGuidHob.
[in] | HobRaw | A pointer to the start of gEfiMemoryTypeInformationGuid HOB. |
[in] | HobLength | The size of the HOB data buffer. |
EFI_SUCCESS | If it completed successfully. |
Definition at line 254 of file PrintHob.c.
EFI_STATUS PrintPciRootBridgeInfoGuidHob | ( | IN UINT8 * | HobRaw, |
IN UINT16 | HobLength | ||
) |
Print the information in Pci RootBridge Info Guid Hob.
[in] | HobRaw | A pointer to the start of gUniversalPayloadPciRootBridgeInfoGuid HOB. |
[in] | HobLength | The size of the HOB data buffer. |
EFI_SUCCESS | If it completed successfully. |
Definition at line 161 of file PrintHob.c.
EFI_STATUS PrintSerialGuidHob | ( | IN UINT8 * | HobRaw, |
IN UINT16 | HobLength | ||
) |
Print the information in Serial Guid Hob.
[in] | HobRaw | A pointer to the start of gUniversalPayloadSerialPortInfoGuid HOB. |
[in] | HobLength | The size of the HOB data buffer. |
EFI_SUCCESS | If it completed successfully. |
Definition at line 60 of file PrintHob.c.
EFI_STATUS PrintSmbios3GuidHob | ( | IN UINT8 * | HobRaw, |
IN UINT16 | HobLength | ||
) |
Print the information in Smbios Guid Hob.
[in] | HobRaw | A pointer to the start of gUniversalPayloadSmbios3TableGuid HOB. |
[in] | HobLength | The size of the HOB data buffer. |
EFI_SUCCESS | If it completed successfully. |
Definition at line 85 of file PrintHob.c.
EFI_STATUS PrintSmbiosTablGuidHob | ( | IN UINT8 * | HobRaw, |
IN UINT16 | HobLength | ||
) |
Print the information in Smbios Guid Hob.
[in] | HobRaw | A pointer to the start of gUniversalPayloadSmbiosTableGuid HOB. |
[in] | HobLength | The size of the HOB data buffer. |
EFI_SUCCESS | If it completed successfully. |
Definition at line 108 of file PrintHob.c.
GUID_HOB_PRINT_HANDLE GuidHobPrintHandleTable[] |
Definition at line 272 of file PrintHob.c.