]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/PrePi/ModuleEntryPoint.asm
ARM Packages: Minor changes (fixed mispelling, line endings, incorrect comments)
[mirror_edk2.git] / ArmPlatformPkg / PrePi / ModuleEntryPoint.asm
index ba82f403f7fe1a99255b119f6715c7c7de4f1802..1e1938c8f3b5d1596f42db6456038a27c069a420 100644 (file)
@@ -108,6 +108,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
@@ -119,7 +120,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