diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-24 15:24:53 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-24 15:24:53 +0000 |
commit | 96cb78a1e33b9f686fdf1a0fc21a24a873885669 (patch) | |
tree | bc5c62349c5e2fcda3f4b9b43ea8c9e9818eea5b /MdeModulePkg/Universal/PCD/Pei | |
parent | 113173812bb7eb07e9a3c0dadf2c9baef11772e7 (diff) | |
download | edk2-96cb78a1e33b9f686fdf1a0fc21a24a873885669.tar.gz edk2-96cb78a1e33b9f686fdf1a0fc21a24a873885669.tar.bz2 edk2-96cb78a1e33b9f686fdf1a0fc21a24a873885669.zip |
Use gEfiCallerIdGuid as the private guid for PcdPeim module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7653 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/PCD/Pei')
-rw-r--r-- | MdeModulePkg/Universal/PCD/Pei/Pcd.inf | 1 | ||||
-rw-r--r-- | MdeModulePkg/Universal/PCD/Pei/Service.c | 6 | ||||
-rw-r--r-- | MdeModulePkg/Universal/PCD/Pei/Service.h | 1 |
3 files changed, 3 insertions, 5 deletions
diff --git a/MdeModulePkg/Universal/PCD/Pei/Pcd.inf b/MdeModulePkg/Universal/PCD/Pei/Pcd.inf index 3770df8ba1..c00cbbeddf 100644 --- a/MdeModulePkg/Universal/PCD/Pei/Pcd.inf +++ b/MdeModulePkg/Universal/PCD/Pei/Pcd.inf @@ -47,7 +47,6 @@ DebugLib
[Guids]
- gPcdPeiCallbackFnTableHobGuid ## RPIVATE ## Hob
gPcdDataBaseHobGuid ## PRODUCES ## Hob
gPcdDataBaseHobGuid ## CONSUMES ## Hob
diff --git a/MdeModulePkg/Universal/PCD/Pei/Service.c b/MdeModulePkg/Universal/PCD/Pei/Service.c index 4bd3c6150a..10cc228433 100644 --- a/MdeModulePkg/Universal/PCD/Pei/Service.c +++ b/MdeModulePkg/Universal/PCD/Pei/Service.c @@ -80,7 +80,7 @@ PeiRegisterCallBackWorker ( ASSERT ((LocalTokenNumber & PCD_TYPE_HII) == 0);
ASSERT ((LocalTokenNumber & PCD_TYPE_VPD) == 0);
- GuidHob = GetFirstGuidHob (&gPcdPeiCallbackFnTableHobGuid);
+ GuidHob = GetFirstGuidHob (&gEfiCallerIdGuid);
ASSERT (GuidHob != NULL);
CallbackTable = GET_GUID_HOB_DATA (GuidHob);
@@ -125,7 +125,7 @@ BuildPcdDatabase ( SizeOfCallbackFnTable = PEI_LOCAL_TOKEN_NUMBER * sizeof (PCD_PPI_CALLBACK) * FixedPcdGet32(PcdMaxPeiPcdCallBackNumberPerPcdEntry);
- CallbackFnTable = BuildGuidHob (&gPcdPeiCallbackFnTableHobGuid, SizeOfCallbackFnTable);
+ CallbackFnTable = BuildGuidHob (&gEfiCallerIdGuid, SizeOfCallbackFnTable);
ZeroMem (CallbackFnTable, SizeOfCallbackFnTable);
}
@@ -292,7 +292,7 @@ InvokeCallbackOnSet ( ASSERT (TokenNumber + 1 < PEI_LOCAL_TOKEN_NUMBER + 1);
}
- GuidHob = GetFirstGuidHob (&gPcdPeiCallbackFnTableHobGuid);
+ GuidHob = GetFirstGuidHob (&gEfiCallerIdGuid);
ASSERT (GuidHob != NULL);
CallbackTable = GET_GUID_HOB_DATA (GuidHob);
diff --git a/MdeModulePkg/Universal/PCD/Pei/Service.h b/MdeModulePkg/Universal/PCD/Pei/Service.h index f76b4a4872..be0d5023a5 100644 --- a/MdeModulePkg/Universal/PCD/Pei/Service.h +++ b/MdeModulePkg/Universal/PCD/Pei/Service.h @@ -19,7 +19,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Ppi/ReadOnlyVariable2.h>
#include <Ppi/Pcd.h>
#include <Guid/PcdDataBaseHobGuid.h>
-#include <Guid/PcdPeiCallbackFnTableHobGuid.h>
#include <Library/DebugLib.h>
#include <Library/PeimEntryPoint.h>
#include <Library/BaseLib.h>
|