]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg/PrePi: switch to ASM_FUNC() asm macro
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 10 Aug 2016 14:04:27 +0000 (16:04 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 11 Aug 2016 11:25:05 +0000 (13:25 +0200)
commitd2fa09a1348738a770f7a7dcb1ec020e6b3a3d0c
tree51ea181e5ea3315b0c44d19ab23207e2939938fa
parenta0f56915a02c95f04782df2c3b0285b08cd88ffa
ArmPlatformPkg/PrePi: switch to ASM_FUNC() asm macro

Annotate functions with ASM_FUNC() so that they are emitted into
separate sections.

While we're at it, replace some inefficient uses of LoadConstantToReg()

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S
ArmPlatformPkg/PrePi/Arm/ModuleEntryPoint.S