]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/PrePi/PrePi.h
MdeModulePkg Variable: Add/Correct GetHobVariableStore para description
[mirror_edk2.git] / ArmPlatformPkg / PrePi / PrePi.h
index f62e263571cb2fe179e1292272737568f5ff4495..39b11eba5993e274ac8811bacdcb91cbf162e3a6 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 *\r
-*  Copyright (c) 2011, ARM Limited. All rights reserved.\r
+*  Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r
 *\r
 *  This program and the accompanying materials\r
 *  are licensed and made available under the terms and conditions of the BSD License\r
 \r
 #include <Library/PcdLib.h>\r
 #include <Library/ArmLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
 #include <Library/DebugLib.h>\r
+#include <Library/IoLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
 #include <Library/HobLib.h>\r
 #include <Library/SerialPortLib.h>\r
 #include <Library/ArmPlatformLib.h>\r
 \r
-#include <Chipset/ArmV7.h>\r
-\r
-#define ARM_PRIMARY_CORE  0\r
 #define SerialPrint(txt)  SerialPortWrite (txt, AsciiStrLen(txt)+1);\r
 \r
-// Vector Table for PrePi Phase\r
-VOID\r
-PrePiVectorTable (\r
-  VOID\r
-  );\r
+extern UINT64 mSystemMemoryEnd;\r
 \r
 RETURN_STATUS\r
 EFIAPI\r
@@ -45,6 +40,7 @@ TimerConstructor (
 VOID\r
 PrePiMain (\r
   IN  UINTN                     UefiMemoryBase,\r
+  IN  UINTN                     StacksBase,\r
   IN  UINT64                    StartTimeStamp\r
   );\r
 \r
@@ -64,12 +60,13 @@ PlatformPeim (
 VOID\r
 PrimaryMain (\r
   IN  UINTN                     UefiMemoryBase,\r
+  IN  UINTN                     StacksBase,\r
   IN  UINT64                    StartTimeStamp\r
   );\r
 \r
 VOID\r
 SecondaryMain (\r
-  IN  UINTN                     CoreId\r
+  IN  UINTN                     MpId\r
   );\r
 \r
 // Either implemented by PrePiLib or by MemoryInitPei\r
@@ -78,4 +75,22 @@ BuildMemoryTypeInformationHob (
   VOID\r
   );\r
 \r
+EFI_STATUS\r
+GetPlatformPpi (\r
+  IN  EFI_GUID  *PpiGuid,\r
+  OUT VOID      **Ppi\r
+  );\r
+\r
+// Initialize the Architecture specific controllers\r
+VOID\r
+ArchInitialize (\r
+  VOID\r
+  );\r
+\r
+VOID\r
+EFIAPI\r
+ProcessLibraryConstructorList (\r
+  VOID\r
+  );\r
+\r
 #endif /* _PREPI_H_ */\r