]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Core/Pei/PeiMain.h
Remove autogen.h from all dxs files, because autogen.h file has been included by...
[mirror_edk2.git] / EdkModulePkg / Core / Pei / PeiMain.h
index dc7185899bbc7be7f3ad755b535614d4068270b9..82121ac043612a19a519c1ea0bad8efa6640c645 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2007, Intel Corporation\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -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
@@ -355,7 +347,7 @@ Returns:
 --*/\r
 ;\r
 \r
-#ifdef EFI64\r
+#if   defined (MDE_CPU_IPF)\r
   //\r
   // In Ipf we should make special changes for the PHIT pointers to support\r
   // recovery boot in cache mode.\r