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
This commit is contained in:
xli24 2007-01-26 01:49:18 +00:00
parent d0d0be58b3
commit cc08c54944
3 changed files with 11 additions and 33 deletions

View File

@ -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
//

View File

@ -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) {

View File

@ -39,4 +39,12 @@ Abstract:
//
#include <Guid/PeiPerformanceHob.h>
EFI_STATUS
EFIAPI
PeiCore (
IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor,
IN VOID *Data
)
;
#endif