From f2e17a0731d96222ae049987ab75485b3e73aa84 Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Fri, 27 Nov 2015 17:07:06 +0000 Subject: 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 Reviewed-by: Leif Lindholm git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18992 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ArmPlatformPkg/PrePi/AArch64') diff --git a/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S b/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S index 0d0e3e17c..f63fd4406 100644 --- a/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S +++ b/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S @@ -133,16 +133,10 @@ _GetStackBase: cmp x0, #1 bne _PrepareArguments -_ReserveGlobalVariable: - LoadConstantToReg (FixedPcdGet32(PcdPeiGlobalVariableSize), x0) - // InitializePrimaryStack($GlobalVariableSize, $Tmp1, $Tmp2) - InitializePrimaryStack(x0, x1, x2) - _PrepareArguments: mov x0, x10 mov x1, x11 mov x2, x12 - mov x3, sp // Move sec startup address into a data register // Ensure we're jumping to FV version of the code (not boot remapped alias) @@ -152,7 +146,6 @@ _PrepareArguments: // x0 = MpId // x1 = UefiMemoryBase // x2 = StacksBase - // x3 = GlobalVariableBase blr x4 _NeverReturn: -- cgit v1.2.3