]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPlatformPkg/PrePeiCore/AArch64/PrePeiCoreEntryPoint.S
ArmPlatformPkg: fixups for 64-bit pointers
authorLeendert van Doorn <leendert@paramecium.org>
Thu, 24 Mar 2016 20:30:08 +0000 (15:30 -0500)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 25 Mar 2016 06:17:28 +0000 (07:17 +0100)
commit91673dfdfe78906023f07e585002689e8baf654e
tree9e312d40a4e42f84df1e612653afe4c8735c7308
parent7e5a6e394c65a295a761162621c546b1fea0b280
ArmPlatformPkg: fixups for 64-bit pointers

This retypes some stack base PCD as 64-bit, and fixes up a number of references
to 64-bit PCDs (including the retypes ones), to use the correct PcdGet64()
accessors. Note that, in the case of FixedPcdGet64, this does not actually
caused any problems, since that resolves to an immediate value. But the
generic PcdGetxx accessors should be typed according to the size of the PCD.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Leo Duran <leo.duran@amd.com>
[ard.biesheuvel: fixed up some instances in the 32-bit ARM code]
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPlatformPkg/ArmPlatformPkg.dec
ArmPlatformPkg/PrePeiCore/AArch64/PrePeiCoreEntryPoint.S
ArmPlatformPkg/PrePeiCore/Arm/PrePeiCoreEntryPoint.S
ArmPlatformPkg/PrePeiCore/Arm/PrePeiCoreEntryPoint.asm
ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S
ArmPlatformPkg/PrePi/PrePi.c