audk/ArmPkg/Library/ArmLib
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
..
AArch64 ArmPkg/AArch64Mmu: use correct AP[] bits in ArmClearMemoryRegionReadOnly 2016-03-22 17:32:25 +01:00
ArmV7 ArmPkg: Configure TTBCR register 2016-03-03 18:23:54 +00:00
Common ArmPkg: Configure TTBCR register 2016-03-03 18:23:54 +00:00
Null ArmPkg/ArmLib: remove CCSIDR based cache info routines 2015-11-09 13:26:32 +00:00