summaryrefslogtreecommitdiff
path: root/IntelFrameworkPkg
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-09 01:48:15 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-09 01:48:15 +0000
commita5a3a29c4ce4017c6871bec0f9f627ba520244fc (patch)
tree528796ed92b14e934a8a9a393075678f891f0b07 /IntelFrameworkPkg
parentc85cea804611f6cad04faf2c3908618e321c2710 (diff)
downloadedk2-a5a3a29c4ce4017c6871bec0f9f627ba520244fc.zip
edk2-a5a3a29c4ce4017c6871bec0f9f627ba520244fc.tar.gz
edk2-a5a3a29c4ce4017c6871bec0f9f627ba520244fc.tar.bz2
Clarify BuildCvHob() API in HobLib to state that this function will ASSERT() if the platform does not support Capsule Volume HOBs. This allows PI implementations to ASSERT() and Framework implementations to provide a full implementation of this API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8279 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkPkg')
-rw-r--r--IntelFrameworkPkg/Library/PeiHobLibFramework/HobLib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/IntelFrameworkPkg/Library/PeiHobLibFramework/HobLib.c b/IntelFrameworkPkg/Library/PeiHobLibFramework/HobLib.c
index 1e8b85c..183ed99 100644
--- a/IntelFrameworkPkg/Library/PeiHobLibFramework/HobLib.c
+++ b/IntelFrameworkPkg/Library/PeiHobLibFramework/HobLib.c
@@ -480,6 +480,7 @@ BuildFv2Hob (
It can only be invoked during PEI phase;
for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.
+ If the platform does not support Capsule Volume HOBs, then ASSERT().
If there is no additional space for HOB creation, then ASSERT().
@param BaseAddress The base address of the Capsule Volume.