]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Core/Pei/PeiMain.h
Clean up MSA file of the checked in modules which include:
[mirror_edk2.git] / EdkModulePkg / Core / Pei / PeiMain.h
index 8f7c8e993b9c1b47144e42715b411855d9d8d6df..53c429f6e0ef6bef2f428c99cef544217cf36197 100644 (file)
@@ -24,15 +24,7 @@ Revision History
 #ifndef _PEI_MAIN_H_\r
 #define _PEI_MAIN_H_\r
 \r
-//#ifdef EFI64\r
-//#include "SalApi.h"\r
-//#endif\r
-\r
-//\r
-//Build private HOB to PEI core to transfer old NEM-range data to new NEM-range\r
-//\r
-#define EFI_PEI_CORE_PRIVATE_GUID  \\r
-  {0xd641a0f5, 0xcb7c, 0x4846, { 0xa3, 0x80, 0x1d, 0x01, 0xb4, 0xd9, 0xe3, 0xb9 } }\r
+extern EFI_GUID gEfiPeiCorePrivateGuid;\r
 \r
 //\r
 // Pei Core private data structures\r
@@ -125,21 +117,21 @@ typedef union {
 \r
 \r
 //\r
-// Main PEI entry\r
+// PeiCore function\r
 //\r
-\r
 EFI_STATUS\r
 EFIAPI\r
 PeiCore (\r
   IN EFI_PEI_STARTUP_DESCRIPTOR  *PeiStartupDescriptor,\r
-  IN PEI_CORE_INSTANCE           *OldCoreData\r
+  IN VOID                        *Data\r
   )\r
 /*++\r
 \r
 Routine Description:\r
 \r
-  Main entry point to Pei Core. After switching stack in the PEI core,\r
-  it will restart with the old core data.\r
+  The entry routine to Pei Core, invoked by PeiMain during transition\r
+  from SEC to PEI. After switching stack in the PEI core, it will restart\r
+  with the old core data.\r
 \r
 Arguments:\r
 \r
@@ -150,11 +142,11 @@ Arguments:
 Returns:\r
 \r
   This function never returns\r
+  EFI_NOT_FOUND        - Never reach\r
 \r
 --*/\r
 ;\r
 \r
-\r
 //\r
 // Dispatcher support functions\r
 //\r