audk/ArmPkg/Library/ArmMmuLib
Ard Biesheuvel 31b1638468 ArmPkg/ArmMmuLib: Reuse XIP MMU routines when splitting entries
In order to reduce the likelihood that we will need to rely on the logic
that disables and re-enables the MMU for updating a page table entry
safely, expose the XIP version of the helper routine via a HOB and use
it instead of the one that is copied into DRAM. Since the XIP copy is
already clean to the PoC, and will never end up getting unmapped during
a block entry split, we can use it safely without any cache maintenance,
and without running the risk of pulling the rug from under our feet when
updating an entry by going through an invalid mapping.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Leif Lindholm <quic_llindhol@quicinc.com>
2022-10-19 09:07:13 +00:00
..
AArch64 ArmPkg/ArmMmuLib: Reuse XIP MMU routines when splitting entries 2022-10-19 09:07:13 +00:00
Arm ArmPkg: Remove RVCT support 2022-05-13 14:58:54 +00:00
ArmMmuBaseLib.inf ArmPkg/ArmMmuLib: Reuse XIP MMU routines when splitting entries 2022-10-19 09:07:13 +00:00
ArmMmuPeiLib.inf ArmPkg/ArmMmuLib: Reuse XIP MMU routines when splitting entries 2022-10-19 09:07:13 +00:00