21#define EFI_HOB_TYPE_HANDOFF 0x0001
22#define EFI_HOB_TYPE_MEMORY_ALLOCATION 0x0002
23#define EFI_HOB_TYPE_RESOURCE_DESCRIPTOR 0x0003
24#define EFI_HOB_TYPE_GUID_EXTENSION 0x0004
25#define EFI_HOB_TYPE_FV 0x0005
26#define EFI_HOB_TYPE_CPU 0x0006
27#define EFI_HOB_TYPE_MEMORY_POOL 0x0007
28#define EFI_HOB_TYPE_FV2 0x0009
29#define EFI_HOB_TYPE_LOAD_PEIM_UNUSED 0x000A
30#define EFI_HOB_TYPE_UEFI_CAPSULE 0x000B
31#define EFI_HOB_TYPE_FV3 0x000C
32#define EFI_HOB_TYPE_UNUSED 0xFFFE
33#define EFI_HOB_TYPE_END_OF_HOB_LIST 0xFFFF
57#define EFI_HOB_HANDOFF_TABLE_VERSION 0x0009
231#define EFI_RESOURCE_SYSTEM_MEMORY 0x00000000
232#define EFI_RESOURCE_MEMORY_MAPPED_IO 0x00000001
233#define EFI_RESOURCE_IO 0x00000002
234#define EFI_RESOURCE_FIRMWARE_DEVICE 0x00000003
235#define EFI_RESOURCE_MEMORY_MAPPED_IO_PORT 0x00000004
236#define EFI_RESOURCE_MEMORY_RESERVED 0x00000005
237#define EFI_RESOURCE_IO_RESERVED 0x00000006
238#define EFI_RESOURCE_MEMORY_UNACCEPTED 0x00000007
239#define EFI_RESOURCE_MAX_MEMORY_TYPE 0x00000008
251#define EFI_RESOURCE_ATTRIBUTE_PRESENT 0x00000001
252#define EFI_RESOURCE_ATTRIBUTE_INITIALIZED 0x00000002
253#define EFI_RESOURCE_ATTRIBUTE_TESTED 0x00000004
254#define EFI_RESOURCE_ATTRIBUTE_READ_PROTECTED 0x00000080
262#define EFI_RESOURCE_ATTRIBUTE_WRITE_PROTECTED 0x00000100
263#define EFI_RESOURCE_ATTRIBUTE_EXECUTION_PROTECTED 0x00000200
264#define EFI_RESOURCE_ATTRIBUTE_PERSISTENT 0x00800000
268#define EFI_RESOURCE_ATTRIBUTE_SINGLE_BIT_ECC 0x00000008
269#define EFI_RESOURCE_ATTRIBUTE_MULTIPLE_BIT_ECC 0x00000010
270#define EFI_RESOURCE_ATTRIBUTE_ECC_RESERVED_1 0x00000020
271#define EFI_RESOURCE_ATTRIBUTE_ECC_RESERVED_2 0x00000040
272#define EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE 0x00000400
273#define EFI_RESOURCE_ATTRIBUTE_WRITE_COMBINEABLE 0x00000800
274#define EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE 0x00001000
275#define EFI_RESOURCE_ATTRIBUTE_WRITE_BACK_CACHEABLE 0x00002000
276#define EFI_RESOURCE_ATTRIBUTE_16_BIT_IO 0x00004000
277#define EFI_RESOURCE_ATTRIBUTE_32_BIT_IO 0x00008000
278#define EFI_RESOURCE_ATTRIBUTE_64_BIT_IO 0x00010000
279#define EFI_RESOURCE_ATTRIBUTE_UNCACHED_EXPORTED 0x00020000
280#define EFI_RESOURCE_ATTRIBUTE_READ_PROTECTABLE 0x00100000
288#define EFI_RESOURCE_ATTRIBUTE_WRITE_PROTECTABLE 0x00200000
289#define EFI_RESOURCE_ATTRIBUTE_EXECUTION_PROTECTABLE 0x00400000
290#define EFI_RESOURCE_ATTRIBUTE_PERSISTABLE 0x01000000
292#define EFI_RESOURCE_ATTRIBUTE_READ_ONLY_PROTECTED 0x00040000
293#define EFI_RESOURCE_ATTRIBUTE_READ_ONLY_PROTECTABLE 0x00080000
295#define EFI_RESOURCE_ATTRIBUTE_ENCRYPTED 0x04000000
296#define EFI_RESOURCE_ATTRIBUTE_SPECIAL_PURPOSE 0x08000000
297#define EFI_RESOURCE_ATTRIBUTE_HOT_PLUGGABLE 0x10000000
304#define EFI_RESOURCE_ATTRIBUTE_MORE_RELIABLE 0x02000000
unsigned short UINT16
2-byte unsigned value.
unsigned char BOOLEAN
Logical Boolean.
unsigned long long UINT64
8-byte unsigned value.
unsigned char UINT8
1-byte unsigned value.
unsigned int UINT32
4-byte unsigned value.
UINT32 EFI_BOOT_MODE
EFI boot mode.
UINT32 EFI_RESOURCE_TYPE
The resource type.
UINT32 EFI_RESOURCE_ATTRIBUTE_TYPE
A type of recount attribute type.
UINT64 EFI_PHYSICAL_ADDRESS
64-bit physical memory address.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
EFI_MEMORY_TYPE
Enumeration of memory types introduced in UEFI.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Describes processor information, such as address space and I/O space capabilities.
UINT8 SizeOfIoSpace
Identifies the maximum physical I/O addressability of the processor.
EFI_HOB_GENERIC_HEADER Header
The HOB generic header.
UINT8 SizeOfMemorySpace
Identifies the maximum physical memory addressability of the processor.
UINT8 Reserved[6]
This field will always be set to zero.
Details the location of a firmware volume that was extracted from a file within another firmware volu...
UINT64 Length
The length in bytes of the firmware volume.
EFI_GUID FvName
The name of the firmware volume.
EFI_PHYSICAL_ADDRESS BaseAddress
The physical memory-mapped base address of the firmware volume.
EFI_GUID FileName
The name of the firmware file that contained this firmware volume.
EFI_HOB_GENERIC_HEADER Header
The HOB generic header.
Details the location of a firmware volume that was extracted from a file within another firmware volu...
EFI_GUID FvName
The name of the firmware volume.
UINT64 Length
The length in bytes of the firmware volume.
BOOLEAN ExtractedFv
TRUE if the FV was extracted as a file within another firmware volume.
UINT32 AuthenticationStatus
The authentication status.
EFI_HOB_GENERIC_HEADER Header
The HOB generic header.
EFI_PHYSICAL_ADDRESS BaseAddress
The physical memory-mapped base address of the firmware volume.
EFI_GUID FileName
The name of the firmware file that contained this firmware volume.
Details the location of firmware volumes that contain firmware files.
EFI_HOB_GENERIC_HEADER Header
The HOB generic header.
EFI_PHYSICAL_ADDRESS BaseAddress
The physical memory-mapped base address of the firmware volume.
UINT64 Length
The length in bytes of the firmware volume.
Allows writers of executable content in the HOB producer phase to maintain and manage HOBs with speci...
EFI_HOB_GENERIC_HEADER Header
The HOB generic header.
EFI_GUID Name
A GUID that defines the contents of this HOB.
Contains general state information used by the HOB producer phase.
UINT32 Version
The version number pertaining to the PHIT HOB definition.
EFI_BOOT_MODE BootMode
The system boot mode as determined during the HOB producer phase.
EFI_PHYSICAL_ADDRESS EfiFreeMemoryBottom
The lowest address location of free memory that is available for use by the HOB producer phase.
EFI_PHYSICAL_ADDRESS EfiMemoryTop
The highest address location of memory that is allocated for use by the HOB producer phase.
EFI_PHYSICAL_ADDRESS EfiFreeMemoryTop
The highest address location of free memory that is currently available for use by the HOB producer p...
EFI_PHYSICAL_ADDRESS EfiMemoryBottom
The lowest address location of memory that is allocated for use by the HOB producer phase.
EFI_HOB_GENERIC_HEADER Header
The HOB generic header.
EFI_PHYSICAL_ADDRESS EfiEndOfHobList
The end of the HOB list.
Defines the location of the boot-strap processor (BSP) BSPStore ("Backing Store Pointer Store").
EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor
An instance of the EFI_HOB_MEMORY_ALLOCATION_HEADER that describes the various attributes of the logi...
EFI_HOB_GENERIC_HEADER Header
The HOB generic header.
Defines the location and entry point of the HOB consumer phase.
EFI_PHYSICAL_ADDRESS EntryPoint
The address of the memory-mapped firmware volume that contains the HOB consumer phase firmware file.
EFI_HOB_GENERIC_HEADER Header
The HOB generic header.
EFI_GUID ModuleName
The GUID specifying the values of the firmware file system name that contains the HOB consumer phase ...
EFI_HOB_MEMORY_ALLOCATION_HEADER MemoryAllocationHeader
An instance of the EFI_HOB_MEMORY_ALLOCATION_HEADER that describes the various attributes of the logi...
Describes the memory stack that is produced by the HOB producer phase and upon which all post-memory-...
EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor
An instance of the EFI_HOB_MEMORY_ALLOCATION_HEADER that describes the various attributes of the logi...
EFI_HOB_GENERIC_HEADER Header
The HOB generic header.
Describes all memory ranges used during the HOB producer phase that exist outside the HOB list.
EFI_HOB_GENERIC_HEADER Header
The HOB generic header.
EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor
An instance of the EFI_HOB_MEMORY_ALLOCATION_HEADER that describes the various attributes of the logi...
Describes pool memory allocations.
EFI_HOB_GENERIC_HEADER Header
The HOB generic header.
Describes the resource properties of all fixed, nonrelocatable resource ranges found on the processor...
UINT64 ResourceLength
The number of bytes of the resource region.
EFI_HOB_GENERIC_HEADER Header
The HOB generic header.
EFI_PHYSICAL_ADDRESS PhysicalStart
The physical start address of the resource region.
EFI_RESOURCE_TYPE ResourceType
The resource type enumeration as defined by EFI_RESOURCE_TYPE.
EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute
Resource attributes as defined by EFI_RESOURCE_ATTRIBUTE_TYPE.
EFI_GUID Owner
A GUID representing the owner of the resource.
Each UEFI capsule HOB details the location of a UEFI capsule.
EFI_PHYSICAL_ADDRESS BaseAddress
The physical memory-mapped base address of an UEFI capsule.
EFI_HOB_GENERIC_HEADER Header
The HOB generic header where Header.HobType = EFI_HOB_TYPE_UEFI_CAPSULE.
Union of all the possible HOB Types.
EFI_HOB_MEMORY_ALLOCATION_STACK * MemoryAllocationStack
EFI_HOB_MEMORY_ALLOCATION_MODULE * MemoryAllocationModule
EFI_HOB_UEFI_CAPSULE * Capsule
EFI_HOB_MEMORY_ALLOCATION_BSP_STORE * MemoryAllocationBspStore
EFI_HOB_FIRMWARE_VOLUME * FirmwareVolume
EFI_HOB_HANDOFF_INFO_TABLE * HandoffInformationTable
EFI_HOB_FIRMWARE_VOLUME2 * FirmwareVolume2
EFI_HOB_MEMORY_POOL * Pool
EFI_HOB_FIRMWARE_VOLUME3 * FirmwareVolume3
EFI_HOB_RESOURCE_DESCRIPTOR * ResourceDescriptor
EFI_HOB_GENERIC_HEADER * Header
EFI_HOB_MEMORY_ALLOCATION * MemoryAllocation