From faf46b4071aa975fd2f401c7474c9d80498eb870 Mon Sep 17 00:00:00 2001 From: klu2 Date: Mon, 20 Oct 2008 14:01:43 +0000 Subject: [PATCH] Fix ECC issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6147 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/PeiHobLib/HobLib.c | 9 +++++++-- 1 file 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 -- 2.39.2