From c524ffbb6762dd7b98108638caa4a25eaf7fcf6b Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Thu, 22 Sep 2011 23:07:55 +0000 Subject: ArmPlatformPkg/PrePi: Removed the dependency on 'PcdCPUCoresNonSecStackBase' In PrePi the StackBase is automatically calculated from the top of the memory. The information is now passed from the assembly files to the C code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12418 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/PrePi/MainMPCore.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ArmPlatformPkg/PrePi/MainMPCore.c') diff --git a/ArmPlatformPkg/PrePi/MainMPCore.c b/ArmPlatformPkg/PrePi/MainMPCore.c index 2f1f86a4b7..139b60289e 100644 --- a/ArmPlatformPkg/PrePi/MainMPCore.c +++ b/ArmPlatformPkg/PrePi/MainMPCore.c @@ -21,6 +21,8 @@ VOID PrimaryMain ( IN UINTN UefiMemoryBase, + IN UINTN StacksBase, + IN UINTN GlobalVariableBase, IN UINT64 StartTimeStamp ) { @@ -33,7 +35,7 @@ PrimaryMain ( ArmGicSendSgiTo (PcdGet32(PcdGicDistributorBase), ARM_GIC_ICDSGIR_FILTER_EVERYONEELSE, 0x0E); } - PrePiMain (UefiMemoryBase, StartTimeStamp); + PrePiMain (UefiMemoryBase, StacksBase, GlobalVariableBase, StartTimeStamp); // We must never return ASSERT(FALSE); -- cgit v1.2.3