From: lgao4 Date: Thu, 1 Feb 2007 03:56:34 +0000 (+0000) Subject: Add PeiCore function declaration in PeiMain.h file. X-Git-Tag: edk2-stable201903~23533 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=ca43e86ee7b30851028d2245bd91a52c3954ef1a 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 --- 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 //