audk/ArmPkg/Include/Library
Peicong Li 829633e3a8 ArmPkg/ArmMmuLib: Add new attribute WRITE_BACK_NONSHAREABLE
Flash region needs to be set as cacheable (write back) to increase
performance, if PEI is still XIP on flash or DXE FV is decompressed
from flash FV. However some ARM platforms do not support to set flash
as inner shareable since flash is not normal DDR memory and it will
not respond to cache snoop request, which will causes system hang
after MMU is enabled.

So we need a new ARM memory region attribute WRITE_BACK_NONSHAREABLE
for flash region on these platforms specifically. This attribute will
set the region as write back but not inner shared.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Peicong Li <lipeicong@huawei.com>
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-11-07 13:29:46 +00:00
..
ArmDisassemblerLib.h ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
ArmGenericTimerCounterLib.h ArmPkg: add ArmGenericTimerCounterLib interface 2014-09-09 16:04:39 +00:00
ArmGicArchLib.h ArmPkg: split off ArmGicArchLib from ArmGicLib 2015-07-28 20:44:44 +00:00
ArmGicLib.h ArmPkg/ArmGicDxe: Expose HardwareInterrupt2 protocol 2017-10-05 21:23:39 +01:00
ArmHvcLib.h ArmPkg: Add ArmHvcLib 2014-09-10 18:46:23 +00:00
ArmLib.h ArmPkg/ArmMmuLib: Add new attribute WRITE_BACK_NONSHAREABLE 2017-11-07 13:29:46 +00:00
ArmMmuLib.h ArmPkg/ArmMmuLib: remove VirtualMask arg from ArmSetMemoryAttributes 2017-03-07 09:38:08 +01:00
ArmSmcLib.h ArmPkg/ArmSmcLib: Fixed SMC helper functions 2014-08-04 14:18:13 +00:00
ArmSvcLib.h ArmPkg/Include: Add ArmSvcLib header file. 2017-10-06 22:35:40 +01:00
BdsLib.h ArmPkg: Move IS_DEVICE_PATH_NODE for sharing 2017-08-01 15:57:47 +01:00
DefaultExceptionHandlerLib.h ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
SemihostLib.h ArmPkg/SemihostLib: Add library functions 2014-10-27 10:38:18 +00:00