diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-03 15:40:49 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-03 15:40:49 +0000 |
commit | bb5545b663e1d8ac4fd37003d5ba26fafdad5831 (patch) | |
tree | cfc7c990d6c40fa4be7996e1609af57f05edb7b8 /MdePkg/Library/BasePcdLibNull | |
parent | a15bb0d31f5345dd81dde0e978a3cbdc54fa27e7 (diff) | |
download | edk2-platforms-bb5545b663e1d8ac4fd37003d5ba26fafdad5831.tar.xz |
Add PcdDxe and PcdPEIM to all-arch for EdkModulePkg-All-Archs.fpd
Fix a few bugs in PcdDxe and PcdPEIM
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@722 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BasePcdLibNull')
-rw-r--r-- | MdePkg/Library/BasePcdLibNull/PcdLib.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/MdePkg/Library/BasePcdLibNull/PcdLib.c b/MdePkg/Library/BasePcdLibNull/PcdLib.c index de90c2f90e..a2e46b05b2 100644 --- a/MdePkg/Library/BasePcdLibNull/PcdLib.c +++ b/MdePkg/Library/BasePcdLibNull/PcdLib.c @@ -31,6 +31,8 @@ LibPcdSetSku ( IN UINTN SkuId
)
{
+ ASSERT (SkuId < 0x100);
+
return SkuId;
}
@@ -633,6 +635,8 @@ LibPcdSetExPtr ( {
ASSERT (Guid != NULL);
+ ASSERT (SizeOfBuffer != NULL);
+
if (*SizeOfBuffer > 0) {
ASSERT (Buffer != NULL);
}
@@ -768,7 +772,7 @@ LibPcdGetNextToken ( @retval CONST GUID * The next valid token namespace.
**/
-CONST GUID*
+GUID *
EFIAPI
LibPcdGetNextTokenSpace (
IN CONST GUID *Guid
|