audk/ArmPlatformPkg/ArmVExpressPkg/Library
Ard Biesheuvel a30d5f9f90 ArmPlatformPkg/PL111LcdArmVExpressLib: use write-combine mapping for VRAM
Replace the uncached memory mapping of the framebuffer with a write-
combining one. This improves performance, and avoids issues with
unaligned accesses and DC ZVA instructions performed by the accelerated
memcpy/memset routines.

Instead of manipulating the memory attributes directly, use the
SetMemorySpaceAttributes() DXE services, which validates the attributes
against the capabilities of the region before making the actual change.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jeremy Linton <jeremy.linton@arm.com>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-04-06 21:31:48 +01:00
..
ArmVExpressLibCTA9x4 ArmPlatformPkg/ArmVExpressPkg: switch to ASM_FUNC() asm macro 2016-08-11 13:25:05 +02:00
ArmVExpressLibCTA15-A7 ArmPlatformPkg/ArmVExpressPkg: switch to ASM_FUNC() asm macro 2016-08-11 13:25:05 +02:00
ArmVExpressLibRTSM ArmPlatformPkg/FVP: map motherboard VRAM as uncached memory 2017-04-06 21:31:48 +01:00
ArmVExpressSecLibCTA9x4 ArmPlatformPkg/TZASC: Allow specifying subregions to be disabled 2017-01-26 14:31:37 +00:00
ArmVExpressSecLibRTSM ArmPkg ArmPlatformPkg ArmVirtPkg: ARM GICv2/v3 Base Address width fix-up 2016-09-08 09:16:01 +01:00
ArmVExpressSysConfigLib ArmVExpressPkg: restrict ArmVExpressSysConfigLib to SEC and DXE_DRIVER 2015-05-08 12:08:24 +00:00
ArmVExpressSysConfigRuntimeLib ArmPlatformPkg/ArmVExpressPkg: add ArmPlatformSysConfigLib for runtime 2015-07-10 15:08:15 +00:00
HdLcdArmVExpressLib ArmPlatformPkg/HdLcdArmVExpressLib: use write-combine mapping for VRAM 2017-04-06 21:31:48 +01:00
NorFlashArmVExpressLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
PL111LcdArmVExpressLib ArmPlatformPkg/PL111LcdArmVExpressLib: use write-combine mapping for VRAM 2017-04-06 21:31:48 +01:00
ResetSystemLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00