diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-18 08:21:07 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-18 08:21:07 +0000 |
commit | 9e8485c558271c9a837b0d8f8b06a6eaf420e768 (patch) | |
tree | 90928902f72bf19371d390e230bf56956136685b /MdePkg | |
parent | 26a31ad2bdcf2aff4b9882f64d0f50b85130a192 (diff) | |
download | edk2-9e8485c558271c9a837b0d8f8b06a6eaf420e768.zip edk2-9e8485c558271c9a837b0d8f8b06a6eaf420e768.tar.gz edk2-9e8485c558271c9a837b0d8f8b06a6eaf420e768.tar.bz2 |
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
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Pi/PiHob.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/MdePkg/Include/Pi/PiHob.h b/MdePkg/Include/Pi/PiHob.h index 0c51f8e..6a62abc 100644 --- a/MdePkg/Include/Pi/PiHob.h +++ b/MdePkg/Include/Pi/PiHob.h @@ -403,6 +403,28 @@ typedef struct { } 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
///
typedef union {
@@ -418,6 +440,7 @@ typedef union { EFI_HOB_FIRMWARE_VOLUME2 *FirmwareVolume2;
EFI_HOB_CPU *Cpu;
EFI_HOB_MEMORY_POOL *Pool;
+ EFI_HOB_UEFI_CAPSULE *Capsule;
UINT8 *Raw;
} EFI_PEI_HOB_POINTERS;
|