]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Core/Pei/PeiMain.h
There is a bug in original EdkModulePkg\Library\EdkUefiRuntimeLib\Common\RuntimeLib...
[mirror_edk2.git] / EdkModulePkg / Core / Pei / PeiMain.h
index dc7185899bbc7be7f3ad755b535614d4068270b9..91f90fea2024e3b1eb31dbe83f8cb2446bc34395 100644 (file)
@@ -24,10 +24,6 @@ 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
@@ -123,38 +119,6 @@ typedef union {
   VOID                         *Raw;\r
 } PEI_CORE_TEMP_POINTERS;\r
 \r
-\r
-//\r
-// Main PEI entry\r
-//\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-PeiCore (\r
-  IN EFI_PEI_STARTUP_DESCRIPTOR  *PeiStartupDescriptor,\r
-  IN PEI_CORE_INSTANCE           *OldCoreData\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
-\r
-Arguments:\r
-\r
-  PeiStartupDescriptor - Information and services provided by SEC phase.\r
-  OldCoreData          - Pointer to old core data that is used to initialize the\r
-                         core's data areas.\r
-\r
-Returns:\r
-\r
-  This function never returns\r
-\r
---*/\r
-;\r
-\r
-\r
 //\r
 // Dispatcher support functions\r
 //\r