summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.asm
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-11-27 17:07:06 +0000
committerabiesheuvel <abiesheuvel@Edk2>2015-11-27 17:07:06 +0000
commitf2e17a0731d96222ae049987ab75485b3e73aa84 (patch)
tree05be5d80d702052da82549eff101277b5ca822fd /ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.asm
parent5eeba3b7f1dd70113d8dba9292bb85b341742edf (diff)
downloadedk2-f2e17a0731d96222ae049987ab75485b3e73aa84.tar.gz
edk2-f2e17a0731d96222ae049987ab75485b3e73aa84.tar.bz2
edk2-f2e17a0731d96222ae049987ab75485b3e73aa84.zip
ArmPlatformPkg/PrePi: remove global variable allocation from lowlevel init
Now that we dropped all ArmPlatformGlobalVariableLib dependencies, there is no longer a need to allocate and clear out the global variable region in the PrePi init code. So remove it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18992 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.asm')
-rw-r--r--ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.asm7
1 files changed, 0 insertions, 7 deletions
diff --git a/ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.asm b/ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.asm
index f73c56850d..a20e3fde0b 100644
--- a/ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.asm
+++ b/ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.asm
@@ -143,16 +143,10 @@ _GetStackBase
cmp r0, #1
bne _PrepareArguments
-_ReserveGlobalVariable
- LoadConstantToReg (FixedPcdGet32(PcdPeiGlobalVariableSize), r0)
- // InitializePrimaryStack($GlobalVariableSize, $Tmp1)
- InitializePrimaryStack r0, r1
-
_PrepareArguments
mov r0, r8
mov r1, r9
mov r2, r10
- mov r3, sp
// Move sec startup address into a data register
// Ensure we're jumping to FV version of the code (not boot remapped alias)
@@ -162,7 +156,6 @@ _PrepareArguments
// r0 = MpId
// r1 = UefiMemoryBase
// r2 = StacksBase
- // r3 = GlobalVariableBase
blx r4
_NeverReturn