mirror of https://github.com/acidanthera/audk.git
Add PeiCore function declaration in PeiMain.h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2344 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9cb053eff7
commit
ca43e86ee7
|
@ -29,7 +29,7 @@ Revision History
|
|||
//
|
||||
#define EFI_PEI_CORE_PRIVATE_GUID \
|
||||
{0xd641a0f5, 0xcb7c, 0x4846, { 0xa3, 0x80, 0x1d, 0x01, 0xb4, 0xd9, 0xe3, 0xb9 } }
|
||||
|
||||
|
||||
//
|
||||
// Pei Core private data structures
|
||||
//
|
||||
|
@ -119,6 +119,38 @@ typedef union {
|
|||
VOID *Raw;
|
||||
} PEI_CORE_TEMP_POINTERS;
|
||||
|
||||
|
||||
//
|
||||
// PeiCore function
|
||||
//
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
PeiCore (
|
||||
IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor,
|
||||
IN VOID *Data
|
||||
)
|
||||
/*++
|
||||
|
||||
Routine Description:
|
||||
|
||||
The entry routine to Pei Core, invoked by PeiMain during transition
|
||||
from SEC to PEI. 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
|
||||
EFI_NOT_FOUND - Never reach
|
||||
|
||||
--*/
|
||||
;
|
||||
|
||||
//
|
||||
// Dispatcher support functions
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue