diff options
Diffstat (limited to 'MdePkg/Include')
-rw-r--r-- | MdePkg/Include/Library/HobLib.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/MdePkg/Include/Library/HobLib.h b/MdePkg/Include/Library/HobLib.h index d17de0b35e..dcb4080d48 100644 --- a/MdePkg/Include/Library/HobLib.h +++ b/MdePkg/Include/Library/HobLib.h @@ -416,6 +416,25 @@ BuildMemoryAllocationHob ( );
/**
+ Builds an UEFI Capsule HOB.
+
+ This function builds an UEFI Capsule HOB.
+ It can only be invoked during PEI phase;
+ for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
+ If there is no additional space for HOB creation, then ASSERT().
+
+ @param BaseAddress The physical memory-mapped base address of an UEFI capsule.
+ @param Length The length of the contiguous memory in bytes.
+
+**/
+VOID
+EFIAPI
+BuildCapsuleHob (
+ IN EFI_PHYSICAL_ADDRESS BaseAddress,
+ IN UINT64 Length
+ );
+
+/**
Returns the type of a HOB.
This macro returns the HobType field from the HOB header for the
|