diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-03 09:25:01 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-03 09:25:01 +0000 |
commit | f0fef790ff6a55997035af8727cc2f3fbd39afbf (patch) | |
tree | 67519f2d8577e116c7213bc893ddc5e9198ddecd /ArmPkg/Include/Library/ArmLib.h | |
parent | e7f7105ba0d231bf3176a2b7f1d82cf9cead5e34 (diff) | |
download | edk2-platforms-f0fef790ff6a55997035af8727cc2f3fbd39afbf.tar.xz |
ArmPkg: Introduce ArmSetLowVectors/ArmSetHighVectors functions
These functions set/clear the SCTLR.V bit that controls the location
of the Vector Table.
This commit also forces the SCTLR.V to be clear when the VBAR register
is set.
Note: The original fix has been proposed by Eugene Cohen (HP).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11739 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Include/Library/ArmLib.h')
-rw-r--r-- | ArmPkg/Include/Library/ArmLib.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ArmPkg/Include/Library/ArmLib.h b/ArmPkg/Include/Library/ArmLib.h index 03ba548de2..468e663989 100644 --- a/ArmPkg/Include/Library/ArmLib.h +++ b/ArmPkg/Include/Library/ArmLib.h @@ -346,7 +346,19 @@ EFIAPI ArmDisableBranchPrediction ( VOID ); - + +VOID +EFIAPI +ArmSetLowVectors ( + VOID + ); + +VOID +EFIAPI +ArmSetHighVectors ( + VOID + ); + VOID EFIAPI ArmDataMemoryBarrier ( |