diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-20 14:01:43 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-20 14:01:43 +0000 |
commit | faf46b4071aa975fd2f401c7474c9d80498eb870 (patch) | |
tree | 7dd746ceb38be327b42961f8c3cf89cfe760db5c /MdePkg | |
parent | f81656f74d741d310ba6d8d63987cfb46f67790b (diff) | |
download | edk2-platforms-faf46b4071aa975fd2f401c7474c9d80498eb870.tar.xz |
Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6147 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-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
|