summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Core/Pei/PeiMain/PeiMain.c
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-26 01:49:18 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-26 01:49:18 +0000
commitcc08c549443efef7fe4b573cabbc8cd8f3ed923b (patch)
tree8d7669789a10cf2b257f72475e87c73f16af7fd8 /EdkModulePkg/Core/Pei/PeiMain/PeiMain.c
parentd0d0be58b3b8c29a68ccaf488bca6e8b1073839a (diff)
downloadedk2-platforms-cc08c549443efef7fe4b573cabbc8cd8f3ed923b.tar.xz
Remove private data structure in PEI core entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2318 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Core/Pei/PeiMain/PeiMain.c')
-rw-r--r--EdkModulePkg/Core/Pei/PeiMain/PeiMain.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/EdkModulePkg/Core/Pei/PeiMain/PeiMain.c b/EdkModulePkg/Core/Pei/PeiMain/PeiMain.c
index f8579600f6..5d439f74ac 100644
--- a/EdkModulePkg/Core/Pei/PeiMain/PeiMain.c
+++ b/EdkModulePkg/Core/Pei/PeiMain/PeiMain.c
@@ -76,7 +76,7 @@ EFI_STATUS
EFIAPI
PeiCore (
IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor,
- IN PEI_CORE_INSTANCE *OldCoreData
+ IN VOID *Data
)
/*++
@@ -104,8 +104,10 @@ Returns:
PEI_CORE_TEMP_POINTERS TempPtr;
PEI_CORE_DISPATCH_DATA *DispatchData;
UINT64 mTick;
+ PEI_CORE_INSTANCE *OldCoreData;
mTick = 0;
+ OldCoreData = (PEI_CORE_INSTANCE *) Data;
if (PerformanceMeasurementEnabled()) {
if (OldCoreData == NULL) {