32 if (HobList ==
NULL) {
33 return EFI_INVALID_PARAMETER;
38 *HobList = PrivateData->HobList.Raw;
72 if (EFI_ERROR (Status)) {
81 if (0x10000 - Length <= 0x7) {
82 return EFI_INVALID_PARAMETER;
85 Length = (UINT16)((Length + 0x7) & (~0x7));
91 DEBUG ((DEBUG_ERROR,
"PeiCreateHob fail: Length - 0x%08x\n", (
UINTN)Length));
94 return EFI_OUT_OF_RESOURCES;
105 HobEnd->
HobType = EFI_HOB_TYPE_END_OF_HOB_LIST;
129 IN UINT64 MemoryLength
135 Hob = (VOID *)(
UINTN)MemoryBegin;
141 HobEnd->
HobType = EFI_HOB_TYPE_END_OF_HOB_LIST;
#define DEBUG(Expression)
#define PEI_CORE_INSTANCE_FROM_PS_THIS(a)
#define EFI_HOB_HANDOFF_TABLE_VERSION
UINT64 EFI_PHYSICAL_ADDRESS
EFI_STATUS EFIAPI UnitTestGetHobList(IN CONST EFI_PEI_SERVICES **PeiServices, IN OUT VOID **HobList)
EFI_STATUS UnitTestCoreBuildHobHandoffInfoTable(IN EFI_BOOT_MODE BootMode, IN EFI_PHYSICAL_ADDRESS MemoryBegin, IN UINT64 MemoryLength)
EFI_STATUS EFIAPI UnitTestCreateHob(IN CONST EFI_PEI_SERVICES **PeiServices, IN UINT16 Type, IN UINT16 Length, IN OUT VOID **Hob)
EFI_PHYSICAL_ADDRESS EfiFreeMemoryBottom
EFI_PHYSICAL_ADDRESS EfiMemoryTop
EFI_PHYSICAL_ADDRESS EfiFreeMemoryTop
EFI_PHYSICAL_ADDRESS EfiMemoryBottom
EFI_HOB_GENERIC_HEADER Header
EFI_PHYSICAL_ADDRESS EfiEndOfHobList