X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FCore%2FPei%2FPeiMain.h;fp=EdkModulePkg%2FCore%2FPei%2FPeiMain.h;h=8aa97350bb2c0a3ea93ed585b1e2f378655d931c;hp=91f90fea2024e3b1eb31dbe83f8cb2446bc34395;hb=ca43e86ee7b30851028d2245bd91a52c3954ef1a;hpb=9cb053eff79841585976f41f602233d37e233f37 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 //