audk/ArmPlatformPkg/ArmJunoPkg/Library/ArmJunoLib
Ard Biesheuvel d74135cd0f ArmPlatformPkg: remove EFI_MEMORY_UC attribute from normal memory
On ARM systems, mapping normal memory as device memory may have unintended
side effects, given that unaligned accesses or loads and stores with special
semantics (e.g., load/store exclusive) may fault or may not work as expected.
Similarly, DC ZVA instructions are only supported on normal memory, not
device memory.

So remove the EFI_MEMORY_UC attribute that we set by default on system RAM.
If any region requires this attribute, it is up to the driver to set this
attribute, and to ensure that no offending operations are performed on it.

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-09-08 10:35:33 +01:00
..
AArch64 ArmPlatformPkg/ArmJunoLib: switch to ASM_FUNC() asm macro 2016-08-11 13:25:04 +02:00
Arm ArmPlatformPkg/ArmJunoLib: switch to ASM_FUNC() asm macro 2016-08-11 13:25:04 +02:00
ArmJuno.c ArmPlatformPkg: Set Juno debug serial port defaults 2016-07-07 17:55:34 +01:00
ArmJunoLib.inf ArmPlatformPkg: Set Juno debug serial port defaults 2016-07-07 17:55:34 +01:00
ArmJunoMem.c ArmPlatformPkg: remove EFI_MEMORY_UC attribute from normal memory 2016-09-08 10:35:33 +01:00