audk/ArmPkg/Drivers/CpuDxe
Ard Biesheuvel 3b44bb5527 ArmPkg/CpuDxe: ignore attribute changes during SyncCacheConfig()
To prevent the initial MMU->GCD memory space map synchronization from
stripping permissions attributes [which we cannot use in the GCD memory
space map, unfortunately], implement the same approach as x86, and ignore
SetMemoryAttributes() calls during the time SyncCacheConfig() is in
progress. This is a horrible hack, but is currently the only way we can
implement strict permissions on arbitrary memory regions [as opposed to
PE/COFF text/data sections only]

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-02-28 14:59:50 +00:00
..
AArch64 ArmPkg/CpuDxe: translate invalid memory types in EfiAttributeToArmAttribute 2017-02-21 17:23:03 +00:00
Arm ArmPkg/CpuDxe: ARM: ignore page table updates that only change permissions 2017-02-21 17:23:03 +00:00
CpuDxe.c ArmPkg/CpuDxe: ignore attribute changes during SyncCacheConfig() 2017-02-28 14:59:50 +00:00
CpuDxe.h ArmPkg/CpuDxe: ignore attribute changes during SyncCacheConfig() 2017-02-28 14:59:50 +00:00
CpuDxe.inf ArmPkg/CpuDxe: remove VirtualUncachedPages protocol and implementation 2017-02-23 17:57:55 +00:00
CpuMmuCommon.c ArmPkg/CpuDxe: ignore attribute changes during SyncCacheConfig() 2017-02-28 14:59:50 +00:00
CpuMpCore.c
Exception.c