audk/ArmPkg/Drivers/CpuDxe
Ard Biesheuvel bdecff6c0f ArmPkg/CpuDxe: handle implied attributes in EfiAttributeToArmAttribute
Some memory attributes are implied by the memory type, e.g., device memory
is always mapped non-executable and cached memory should have the inner
shareable attribute.

In order to prevent unnecessary memory attribute updates of mappings
created early on, make EfiAttributeToArmAttribute() return these implied
attributes in the same way as ArmMmuLib does already. This avoids false
positives when looking for differences between current and desired mapping
attributes.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-03-08 15:40:20 +01:00
..
AArch64 ArmPkg/CpuDxe: handle implied attributes in EfiAttributeToArmAttribute 2017-03-08 15:40:20 +01:00
Arm ArmPkg: move ARM version of SetMemoryAttributes to ArmMmuLib 2017-03-07 09:38:08 +01:00
CpuDxe.c ArmPkg/CpuDxe: ignore attribute changes during SyncCacheConfig() 2017-02-28 14:59:50 +00:00
CpuDxe.h ArmPkg: move ARM version of SetMemoryAttributes to ArmMmuLib 2017-03-07 09:38:08 +01:00
CpuDxe.inf ArmPkg/CpuDxe: remove VirtualUncachedPages protocol and implementation 2017-02-23 17:57:55 +00:00
CpuMmuCommon.c ArmPkg/ArmMmuLib: remove VirtualMask arg from ArmSetMemoryAttributes 2017-03-07 09:38:08 +01:00
CpuMpCore.c
Exception.c