]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.asm
ArmPlatformPkg/PrePi RVCT: use relative reference to mSystemMemoryEnd
[mirror_edk2.git] / ArmPlatformPkg / PrePi / Arm / ModuleEntryPoint.asm
index 1e9daf563bb659af9e63fd39e799d3b78c8e0658..80c2877cbdbfb9eb17aaac9e73ace50c49f4c0a3 100644 (file)
@@ -48,7 +48,7 @@ _SetSVCMode
 // to install the stacks at the bottom of the Firmware Device (case the FD is located\r
 // at the top of the DRAM)\r
 _SystemMemoryEndInit\r
-  mov32 r1, mSystemMemoryEnd\r
+  adrll r1, mSystemMemoryEnd\r
   ldrd  r2, r3, [r1]\r
   teq   r3, #0\r
   moveq r1, r2\r