]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/PrePi/PrePi.h
UefiPayloadPkg: Add PCI root bridge info hob support for SBL
[mirror_edk2.git] / ArmPlatformPkg / PrePi / PrePi.h
index deb88516887999ff476b28f47e616d18bb0ede3f..8e6a7833bcf0ccdb26570f80a1f9988d0cf783b7 100644 (file)
@@ -1,15 +1,9 @@
 /** @file\r
-*\r
-*  Copyright (c) 2011-2012, 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
-*  which accompanies this distribution.  The full text of the license may be found at\r
-*  http://opensource.org/licenses/bsd-license.php\r
-*\r
-*  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-*  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-*\r
+\r
+  Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR>\r
+\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
 **/\r
 \r
 #ifndef _PREPI_H_\r
@@ -27,7 +21,7 @@
 #include <Library/SerialPortLib.h>\r
 #include <Library/ArmPlatformLib.h>\r
 \r
-#define SerialPrint(txt)  SerialPortWrite (txt, AsciiStrLen(txt)+1);\r
+extern UINT64 mSystemMemoryEnd;\r
 \r
 RETURN_STATUS\r
 EFIAPI\r
@@ -39,7 +33,6 @@ VOID
 PrePiMain (\r
   IN  UINTN                     UefiMemoryBase,\r
   IN  UINTN                     StacksBase,\r
-  IN  UINTN                     GlobalVariableBase,\r
   IN  UINT64                    StartTimeStamp\r
   );\r
 \r
@@ -60,7 +53,6 @@ VOID
 PrimaryMain (\r
   IN  UINTN                     UefiMemoryBase,\r
   IN  UINTN                     StacksBase,\r
-  IN  UINTN                     GlobalVariableBase,\r
   IN  UINT64                    StartTimeStamp\r
   );\r
 \r
@@ -81,4 +73,16 @@ GetPlatformPpi (
   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