From d269095b712ba45fd4aca55331b5e6f3045ce1ad Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Wed, 6 Jul 2011 16:27:21 +0000 Subject: ArmPlatformPkg: Change the memory model for the ARM Platform components In the former memory model, the UEFI firmware was expected to be located at the top of the system memory. Stacks & Pi memory regions were set below the firmware. On some platform, the UEFI firmware could be shadowed by the ROM firmware (case of the BeagleBoard) and in some cases the firmware is copied at the beginning of the system memory. With this new memory model, stack and Pi/DXE memory regions are set at the top of the system memory wherever the UEFI firmware is located in the memory map. Because DXE core does not support shadowed firmwares, the system memory covered by the UEFI firmware is marked as 'Non Present' to avoid to be overlapped by DXE allocations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11992 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/PrePi/PrePi.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ArmPlatformPkg/PrePi/PrePi.h') diff --git a/ArmPlatformPkg/PrePi/PrePi.h b/ArmPlatformPkg/PrePi/PrePi.h index b1d39c669..f62e26357 100644 --- a/ArmPlatformPkg/PrePi/PrePi.h +++ b/ArmPlatformPkg/PrePi/PrePi.h @@ -27,6 +27,7 @@ #include +#define ARM_PRIMARY_CORE 0 #define SerialPrint(txt) SerialPortWrite (txt, AsciiStrLen(txt)+1); // Vector Table for PrePi Phase @@ -44,15 +45,14 @@ TimerConstructor ( VOID PrePiMain ( IN UINTN UefiMemoryBase, - IN UINTN StackBase, IN UINT64 StartTimeStamp ); EFI_STATUS EFIAPI MemoryPeim ( - IN EFI_PHYSICAL_ADDRESS UefiMemoryBase, - IN UINT64 UefiMemorySize + IN EFI_PHYSICAL_ADDRESS UefiMemoryBase, + IN UINT64 UefiMemorySize ); EFI_STATUS @@ -64,7 +64,6 @@ PlatformPeim ( VOID PrimaryMain ( IN UINTN UefiMemoryBase, - IN UINTN StackBase, IN UINT64 StartTimeStamp ); -- cgit v1.2.3