diff options
-rw-r--r-- | MdePkg/Library/PeiHobLib/HobLib.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/MdePkg/Library/PeiHobLib/HobLib.c b/MdePkg/Library/PeiHobLib/HobLib.c index c92c6c805f..1d58479296 100644 --- a/MdePkg/Library/PeiHobLib/HobLib.c +++ b/MdePkg/Library/PeiHobLib/HobLib.c @@ -444,8 +444,13 @@ BuildFv2Hob ( /**
Builds a Capsule Volume HOB.
- This function is not supported, because Capsule Volume Hob is the platform
- specific. It is not the common defintion in PI and UEFI spec.
+ This function builds a Capsule Volume 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 base address of the Capsule Volume.
+ @param Length The size of the Capsule Volume in bytes.
**/
VOID
|