summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Core
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
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')
-rw-r--r--EdkModulePkg/Core/Pei/PeiMain.h32
-rw-r--r--EdkModulePkg/Core/Pei/PeiMain/PeiMain.c4
2 files changed, 3 insertions, 33 deletions
diff --git a/EdkModulePkg/Core/Pei/PeiMain.h b/EdkModulePkg/Core/Pei/PeiMain.h
index 8b019e12c2..91f90fea20 100644
--- a/EdkModulePkg/Core/Pei/PeiMain.h
+++ b/EdkModulePkg/Core/Pei/PeiMain.h
@@ -119,38 +119,6 @@ typedef union {
VOID *Raw;
} PEI_CORE_TEMP_POINTERS;
-
-//
-// Main PEI entry
-//
-
-EFI_STATUS
-EFIAPI
-PeiCore (
- IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor,
- IN PEI_CORE_INSTANCE *OldCoreData
- )
-/*++
-
-Routine Description:
-
- Main entry point to Pei Core. After switching stack in the PEI core,
- it will restart with the old core data.
-
-Arguments:
-
- PeiStartupDescriptor - Information and services provided by SEC phase.
- OldCoreData - Pointer to old core data that is used to initialize the
- core's data areas.
-
-Returns:
-
- This function never returns
-
---*/
-;
-
-
//
// Dispatcher support functions
//
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) {