summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/PCD/Pei
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-09 06:26:42 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-09 06:26:42 +0000
commite56187913724379012649c0411668f94ac2ffd9f (patch)
treef455b0004585ba7f2b38fd51ec4e1c82a2e58e8b /MdeModulePkg/Universal/PCD/Pei
parentb3ff502f6dbbd343c75859ee04de4ee1683cdecc (diff)
downloadedk2-platforms-e56187913724379012649c0411668f94ac2ffd9f.tar.xz
Add INF extension Information
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7228 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/PCD/Pei')
-rw-r--r--MdeModulePkg/Universal/PCD/Pei/Pcd.inf10
-rw-r--r--MdeModulePkg/Universal/PCD/Pei/Service.c5
2 files changed, 7 insertions, 8 deletions
diff --git a/MdeModulePkg/Universal/PCD/Pei/Pcd.inf b/MdeModulePkg/Universal/PCD/Pei/Pcd.inf
index 01acc1d42d..44e426e11c 100644
--- a/MdeModulePkg/Universal/PCD/Pei/Pcd.inf
+++ b/MdeModulePkg/Universal/PCD/Pei/Pcd.inf
@@ -47,13 +47,13 @@
DebugLib
[Guids]
- gPcdPeiCallbackFnTableHobGuid # ALWAYS_PRODUCED Hob: GUID_EXTENSION
- gPcdDataBaseHobGuid # ALWAYS_PRODUCED Hob: GUID_EXTENSION
-
+ gPcdPeiCallbackFnTableHobGuid ## RPIVATE ## Hob
+ gPcdDataBaseHobGuid ## PRODUCED ## Hob
+ gPcdDataBaseHobGuid ## CONSUMED ## Hob
[Ppis]
- gEfiPeiReadOnlyVariable2PpiGuid # PPI ALWAYS_CONSUMED
- gPcdPpiGuid # PPI ALWAYS_PRODUCED
+ gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMED
+ gPcdPpiGuid ## PRODUCED
[FeaturePcd.common]
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiPcdDatabaseSetEnabled
diff --git a/MdeModulePkg/Universal/PCD/Pei/Service.c b/MdeModulePkg/Universal/PCD/Pei/Service.c
index ce646edc7b..4bd3c6150a 100644
--- a/MdeModulePkg/Universal/PCD/Pei/Service.c
+++ b/MdeModulePkg/Universal/PCD/Pei/Service.c
@@ -167,9 +167,8 @@ GetHiiVariable (
&Size,
NULL
);
- if (Status == EFI_BUFFER_TOO_SMALL) {
-
+ if (Status == EFI_BUFFER_TOO_SMALL) {
Status = PeiServicesAllocatePool (Size, &Buffer);
ASSERT_EFI_ERROR (Status);
@@ -187,7 +186,7 @@ GetHiiVariable (
*VariableData = Buffer;
return EFI_SUCCESS;
- }
+ }
return EFI_NOT_FOUND;
}