mirror of https://github.com/acidanthera/audk.git
Add EFI_HOB_UEFI_CAPSULE type defined in PI 1.2 volume 3.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9092 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
26a31ad2bd
commit
9e8485c558
|
@ -402,6 +402,28 @@ typedef struct {
|
||||||
EFI_HOB_GENERIC_HEADER Header;
|
EFI_HOB_GENERIC_HEADER Header;
|
||||||
} EFI_HOB_MEMORY_POOL;
|
} EFI_HOB_MEMORY_POOL;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Each UEFI capsule HOB details the location of a UEFI capsule. It includes a base address and length
|
||||||
|
/// which is based upon memory blocks with a EFI_CAPSULE_HEADER and the associated
|
||||||
|
/// CapsuleImageSize-based payloads. These HOB’s shall be created by the PEI PI firmware
|
||||||
|
/// sometime after the UEFI UpdateCapsule service invocation with the
|
||||||
|
/// CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE flag set in the EFI_CAPSULE_HEADER.
|
||||||
|
///
|
||||||
|
typedef struct {
|
||||||
|
///
|
||||||
|
/// The HOB generic header where Header.HobType = EFI_HOB_TYPE_UEFI_CAPSULE.
|
||||||
|
///
|
||||||
|
EFI_HOB_GENERIC_HEADER Header;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// The physical memory-mapped base address of an UEFI capsule. This value is set to
|
||||||
|
/// point to the base of the contiguous memory of the UEFI capsule.
|
||||||
|
/// The length of the contiguous memory in bytes
|
||||||
|
///
|
||||||
|
EFI_PHYSICAL_ADDRESS BaseAddress;
|
||||||
|
UINT64 Length;
|
||||||
|
} EFI_HOB_UEFI_CAPSULE;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Union of all the possible HOB Types
|
/// Union of all the possible HOB Types
|
||||||
///
|
///
|
||||||
|
@ -418,6 +440,7 @@ typedef union {
|
||||||
EFI_HOB_FIRMWARE_VOLUME2 *FirmwareVolume2;
|
EFI_HOB_FIRMWARE_VOLUME2 *FirmwareVolume2;
|
||||||
EFI_HOB_CPU *Cpu;
|
EFI_HOB_CPU *Cpu;
|
||||||
EFI_HOB_MEMORY_POOL *Pool;
|
EFI_HOB_MEMORY_POOL *Pool;
|
||||||
|
EFI_HOB_UEFI_CAPSULE *Capsule;
|
||||||
UINT8 *Raw;
|
UINT8 *Raw;
|
||||||
} EFI_PEI_HOB_POINTERS;
|
} EFI_PEI_HOB_POINTERS;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue