]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.S
ArmPlatformPkg/PrePi: remove global variable allocation from lowlevel init
[mirror_edk2.git] / ArmPlatformPkg / PrePi / Arm / ModuleEntryPoint.S
index f64934480ff4fabc6c43a02c30e06a0ac27cc5ac..1311efc5cb2cabd40129671b6865c0c84244aeb4 100644 (file)
@@ -141,11 +141,6 @@ _GetStackBase:
   cmp   r0, #1\r
   bne   _PrepareArguments\r
 \r
-_ReserveGlobalVariable:\r
-  LoadConstantToReg (FixedPcdGet32(PcdPeiGlobalVariableSize), r0)\r
-  // InitializePrimaryStack($GlobalVariableSize, $Tmp1)\r
-  InitializePrimaryStack(r0, r1)\r
-\r
 _PrepareArguments:\r
   mov   r0, r8\r
   mov   r1, r9\r
@@ -160,7 +155,6 @@ _PrepareArguments:
   //    r0 = MpId\r
   //    r1 = UefiMemoryBase\r
   //    r2 = StacksBase\r
-  //    r3 = GlobalVariableBase\r
   blx   r4\r
 \r
 _NeverReturn:\r