]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/PrePi/ModuleEntryPoint.S
ArmPkg/ArmCpuLib: Replaced complex functions ArmCpuSynchronizeWait & ArmCpuSynchroniz...
[mirror_edk2.git] / ArmPlatformPkg / PrePi / ModuleEntryPoint.S
index c10dfbaf0f92533b0ea00ea64b2ba9daec48cd72..bff240a660bc5ef775ee34cce16db967ceb3206d 100755 (executable)
@@ -107,6 +107,7 @@ _GetStackBaseMpCore:
   // Stack for the primary core = PrimaryCoreStack\r
   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
   LoadConstantToReg (FixedPcdGet32(PcdClusterCount), r2)\r
   lsl   r2, r2, #2\r
@@ -118,7 +119,7 @@ _GetStackBaseMpCore:
   LoadConstantToReg (FixedPcdGet32(PcdCPUCorePrimaryStackSize), r2)\r
   add   r1, r7, r2\r
 \r
-  // r7 = The base of the MpCore Stacks\r
+  // r7 = The base of the MpCore Stacks (primary stack + cluster_count * 4 * secondary stacks)\r
   // r1 = The base of the secondary Stacks = Top of the Primary stack\r
 \r
   // Is it the Primary Core ?\r