]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c
ArmPkg/ArmMmuLib: AARCH64: enable stack alignment checking
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 22 Feb 2017 09:38:21 +0000 (09:38 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 22 Feb 2017 13:22:42 +0000 (13:22 +0000)
commit526f160f311c6d1540df68590712fdd70c2df0bc
treebaa4dc1145557da47cb6b954bae11686d3b8c769
parent97f0d01d5df07c7a81e4c505494f43b4b46ffe6c
ArmPkg/ArmMmuLib: AARCH64: enable stack alignment checking

Enable the hardware stack alignment check, as mandated by the UEFI spec.
This ensures that the stack pointer is 16 byte aligned at each instance
where it is used as the base address in a load/store operation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c