]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.asm
ARM Packages: Replace tabs by spaces for indentation
[mirror_edk2.git] / ArmPlatformPkg / PrePi / Arm / ModuleEntryPoint.asm
index 4e2bb16c99ae40d33ad9decc54f4e07aee76e988..cbb3a08008696c3410f839b506ebf363bd5c3536 100644 (file)
@@ -71,13 +71,13 @@ _SetupStackPosition
   //\r
 \r
   // Calculate how much space there is between the top of the Firmware and the Top of the System Memory\r
-  subs r0, r1, r3      // r0 = SystemMemoryTop - FdTop\r
-  bmi  _SetupStack     // Jump if negative (FdTop > SystemMemoryTop). Case when the PrePi is in XIP memory outside of the DRAM\r
-  cmp  r0, r4\r
-  bge  _SetupStack\r
+  subs  r0, r1, r3      // r0 = SystemMemoryTop - FdTop\r
+  bmi   _SetupStack     // Jump if negative (FdTop > SystemMemoryTop). Case when the PrePi is in XIP memory outside of the DRAM\r
+  cmp   r0, r4\r
+  bge   _SetupStack\r
 \r
   // Case the top of stacks is the FdBaseAddress\r
-  mov  r1, r2\r
+  mov   r1, r2\r
 \r
 _SetupStack\r
   // r1 contains the top of the stack (and the UEFI Memory)\r
@@ -111,18 +111,18 @@ _GetStackBase
 \r
   // Stack for the secondary core = Number of Cores - 1\r
   LoadConstantToReg (FixedPcdGet32(PcdCoreCount), r0)\r
-  sub  r0, r0, #1\r
+  sub   r0, r0, #1\r
   LoadConstantToReg (FixedPcdGet32(PcdCPUCoreSecondaryStackSize), r1)\r
   mul   r1, r1, r0\r
   sub   r10, r10, r1\r
 \r
   // r10 = The base of the MpCore Stacks (primary stack & secondary stacks)\r
-  mov  r0, r10\r
-  mov  r1, r8\r
+  mov   r0, r10\r
+  mov   r1, r8\r
   //ArmPlatformStackSet(StackBase, MpId, PrimaryStackSize, SecondaryStackSize)\r
   LoadConstantToReg (FixedPcdGet32(PcdCPUCorePrimaryStackSize), r2)\r
   LoadConstantToReg (FixedPcdGet32(PcdCPUCoreSecondaryStackSize), r3)\r
-  bl   ArmPlatformStackSet\r
+  bl    ArmPlatformStackSet\r
 \r
   // Is it the Primary Core ?\r
   mov   r0, r8\r