summaryrefslogtreecommitdiff
path: root/EdkModulePkg
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-02-01 03:56:34 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-02-01 03:56:34 +0000
commitca43e86ee7b30851028d2245bd91a52c3954ef1a (patch)
tree949e39f1850817d429a574f2670d492b82d4007d /EdkModulePkg
parent9cb053eff79841585976f41f602233d37e233f37 (diff)
downloadedk2-platforms-ca43e86ee7b30851028d2245bd91a52c3954ef1a.tar.xz
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
Diffstat (limited to 'EdkModulePkg')
-rw-r--r--EdkModulePkg/Core/Pei/PeiMain.h34
1 files changed, 33 insertions, 1 deletions
diff --git a/EdkModulePkg/Core/Pei/PeiMain.h b/EdkModulePkg/Core/Pei/PeiMain.h
index 91f90fea20..8aa97350bb 100644
--- a/EdkModulePkg/Core/Pei/PeiMain.h
+++ b/EdkModulePkg/Core/Pei/PeiMain.h
@@ -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
//