audk/ArmPkg/Library/ArmMmuLib/Arm
Ard Biesheuvel b05523a4e9 ArmPkg/ArmMmuLib: Introduce region types for RO/XP WB cached memory
To prepare for the enablement of booting EFI with the SCTLR.WXN control
enabled, which makes all writeable memory regions non-executable by
default, introduce a memory type that we will use to describe the flash
region that carries the SEC and PEIM modules that execute in place. Even
if these are implicitly read-only due to the ROM nature, they need to be
mapped with read-only attributes in the page tables to be able to
execute from them.

Also add the XP counterpart which will be used for all normal DRAM right
at the outset.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
2023-03-16 21:14:49 +00:00
..
ArmMmuLibConvert.c ArmPkg/ArmMmuLib ARM: Isolate the access flag from AP mask 2023-03-16 21:14:49 +00:00
ArmMmuLibCore.c ArmPkg/ArmMmuLib: Introduce region types for RO/XP WB cached memory 2023-03-16 21:14:49 +00:00
ArmMmuLibUpdate.c ArmPkg/ArmMmuLib: Avoid splitting block entries if possible 2023-03-16 21:14:49 +00:00
ArmMmuLibV7Support.S ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00