diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-02-22 09:38:20 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-02-22 13:22:42 +0000 |
commit | 97f0d01d5df07c7a81e4c505494f43b4b46ffe6c (patch) | |
tree | d8a6f4599231a33422badffd361ca9a9a6b7089e /ArmPkg/Include | |
parent | de2a78247a2955e20a014fd8c47eb9792d1b437b (diff) | |
download | edk2-platforms-97f0d01d5df07c7a81e4c505494f43b4b46ffe6c.tar.xz |
ArmPkg/ArmLib: AARCH64: allow the stack aligment (SA) bit to be managed
In preparation of enabling stack alignment checking, which is mandated
by the UEFI spec for AARCH64, add the code to manage this bit to ArmLib.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPkg/Include')
-rw-r--r-- | ArmPkg/Include/Chipset/AArch64.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ArmPkg/Include/Chipset/AArch64.h b/ArmPkg/Include/Chipset/AArch64.h index 9aecb1df81..cebfc5da42 100644 --- a/ArmPkg/Include/Chipset/AArch64.h +++ b/ArmPkg/Include/Chipset/AArch64.h @@ -194,6 +194,18 @@ ArmEnableAlignmentCheck ( VOID
EFIAPI
+ArmDisableStackAlignmentCheck (
+ VOID
+ );
+
+VOID
+EFIAPI
+ArmEnableStackAlignmentCheck (
+ VOID
+ );
+
+VOID
+EFIAPI
ArmDisableAllExceptions (
VOID
);
|