]> git.proxmox.com Git - mirror_edk2.git/commit - ArmVirtPkg/PrePi/AArch64/ModuleEntryPoint.S
ArmVirtPkg/PrePi: use correct callee saved regs
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 5 Aug 2016 14:41:32 +0000 (16:41 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 10 Aug 2016 11:15:15 +0000 (13:15 +0200)
commit298f83612375bda69e8a7230dfea036e85eda553
tree594a01caa68b6219f366cb1b7ef8b3233fb7a0a3
parentaf90df3cb099ed8e009579b7b55e7142dc0fc410
ArmVirtPkg/PrePi: use correct callee saved regs

Both the ARM and the AARCH64 versions of the PrePi code (shared between
ArmVirtQemuKernel and ArmVirtXen) 'preserve' values across a function
call using registers that are not in fact callee saved. So fix that.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
ArmVirtPkg/PrePi/AArch64/ModuleEntryPoint.S
ArmVirtPkg/PrePi/Arm/ModuleEntryPoint.S