audk/ArmPkg/Library/ArmLib/AArch64
Ard Biesheuvel b5d89de167 ArmPkg/AArch64Mmu: use correct AP[] bits in ArmClearMemoryRegionReadOnly
The function ArmClearMemoryRegionReadOnly() was supposed to undo the
effect of ArmSetMemoryRegionReadOnly(), but instead, it sets the permissions
to EL0-no access, EL1-read-only. Since the EL0 bit should be 1 to align
with EL2/3 (where the bit is SBO), use TT_AP_RW_RW instead, which makes the
entry read-write for EL0 when executing at EL1, and read-write for all other
levels.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2016-03-22 17:32:25 +01:00
..
AArch64ArchTimer.c ArmPkg: Move TimerDxe and ArmArchTimerLib to new ArmGenericTimerCounterLib 2014-09-09 16:10:18 +00:00
AArch64ArchTimerSupport.S ArmPkg: fix ArmWriteCntkCtl simple code bug 2015-05-13 18:21:58 +00:00
AArch64Lib.c ArmPkg: ArmLib: purge incorrect ArmDrainWriteBuffer () alias 2015-11-20 13:14:59 +00:00
AArch64Lib.h ArmPkg/ArmLib: remove unused ArmCleanDataCacheToPoU() 2015-11-09 13:26:11 +00:00
AArch64Lib.inf ArmPkg: remove cache maintenance by VA operation range size threshold 2015-04-14 11:54:40 +00:00
AArch64LibPrePi.inf ArmPkg: remove cache maintenance by VA operation range size threshold 2015-04-14 11:54:40 +00:00
AArch64LibSec.inf ArmPkg: remove cache maintenance by VA operation range size threshold 2015-04-14 11:54:40 +00:00
AArch64Mmu.c ArmPkg/AArch64Mmu: use correct AP[] bits in ArmClearMemoryRegionReadOnly 2016-03-22 17:32:25 +01:00
AArch64Support.S ArmPkg/ArmLib: add ArmReadHcr to enable read-modify-write of HCR 2016-03-16 12:19:25 +01:00
ArmLibSupportV8.S ArmPkg: CpuDxe: fix AArch64 interrupt read masks 2016-02-23 12:07:11 +01:00