mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg/PrePi RVCT: use relative reference to mSystemMemoryEnd
Bring the RVCT version of the PrePi entry point code in line with the GCC version, by using a relative rather than an absolute reference to the mSystemMemoryEnd variable. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
parent
4101c8753f
commit
b0609e4f02
|
@ -48,7 +48,7 @@ _SetSVCMode
|
|||
// to install the stacks at the bottom of the Firmware Device (case the FD is located
|
||||
// at the top of the DRAM)
|
||||
_SystemMemoryEndInit
|
||||
mov32 r1, mSystemMemoryEnd
|
||||
adrll r1, mSystemMemoryEnd
|
||||
ldrd r2, r3, [r1]
|
||||
teq r3, #0
|
||||
moveq r1, r2
|
||||
|
|
Loading…
Reference in New Issue