]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/PrePi/PrePi.h
ArmPlatformPkg/patches: Update the 'PendingPatches' on the latest BaseTools syncup
[mirror_edk2.git] / ArmPlatformPkg / PrePi / PrePi.h
index b1d39c669ae05ef8b7640b789427c9761fadc3ed..e13900dbd477415a6d8092b99f69e4fe2fecbba2 100644 (file)
 \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 SerialPrint(txt)  SerialPortWrite (txt, AsciiStrLen(txt)+1);\r
 \r
 // Vector Table for PrePi Phase\r
@@ -44,15 +44,16 @@ TimerConstructor (
 VOID\r
 PrePiMain (\r
   IN  UINTN                     UefiMemoryBase,\r
-  IN  UINTN                     StackBase,\r
+  IN  UINTN                     StacksBase,\r
+  IN  UINTN                     GlobalVariableBase,\r
   IN  UINT64                    StartTimeStamp\r
   );\r
 \r
 EFI_STATUS\r
 EFIAPI\r
 MemoryPeim (\r
-  IN EFI_PHYSICAL_ADDRESS               UefiMemoryBase,\r
-  IN UINT64                             UefiMemorySize\r
+  IN EFI_PHYSICAL_ADDRESS       UefiMemoryBase,\r
+  IN UINT64                     UefiMemorySize\r
   );\r
 \r
 EFI_STATUS\r
@@ -64,13 +65,14 @@ PlatformPeim (
 VOID\r
 PrimaryMain (\r
   IN  UINTN                     UefiMemoryBase,\r
-  IN  UINTN                     StackBase,\r
+  IN  UINTN                     StacksBase,\r
+  IN  UINTN                     GlobalVariableBase,\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