]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/PrePi/ModuleEntryPoint.S
ArmPkg/DefaultExceptionHandlerLib: Added support to the BASE-type library
[mirror_edk2.git] / ArmPlatformPkg / PrePi / ModuleEntryPoint.S
index bff240a660bc5ef775ee34cce16db967ceb3206d..a5593d7290c5a70bc22a3edb9c940d2a9f5cce82 100755 (executable)
@@ -108,7 +108,7 @@ _GetStackBaseMpCore:
   LoadConstantToReg (FixedPcdGet32(PcdCPUCorePrimaryStackSize), r2)\r
   sub   r7, r1, r2\r
 \r
-  // Stack for the secondary core = Number of Cluster * (4 Core per cluster) * SecondaryStackSize\r
+  // Stack for the secondary core = Number of Clusters * (4 Cores per cluster) * SecondaryStackSize\r
   LoadConstantToReg (FixedPcdGet32(PcdClusterCount), r2)\r
   lsl   r2, r2, #2\r
   LoadConstantToReg (FixedPcdGet32(PcdCPUCoreSecondaryStackSize), r3)\r
@@ -131,7 +131,7 @@ _SetupSecondaryCoreStack:
   // r1 = The base of the secondary Stacks\r
 \r
   // Get the position of the cores (ClusterId * 4) + CoreId\r
-  GetCorePositionInStack(r0, r5, r4)\r
+  GetCorePositionFromMpId(r0, r5, r4)\r
   // The stack starts at the top of the stack region. Add '1' to the Core Position to get the top of the stack\r
   add   r0, r0, #1\r
   // Get the offset for the Secondary Stack\r