audk/ArmPkg/Library/ArmMmuLib
Ard Biesheuvel 0487cac09f ArmPkg/ArmMmuLib: Disable and re-enable MMU only when needed
When updating a page table descriptor in a way that requires break
before make, we temporarily disable the MMU to ensure that we don't
unmap the memory region that the code itself is executing from.

However, this is a condition we can check in a straight-forward manner,
and if the regions are disjoint, we don't have to bother with the MMU
controls, and we can just perform an ordinary break before make.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
2022-10-19 09:07:13 +00:00
..
AArch64 ArmPkg/ArmMmuLib: Disable and re-enable MMU only when needed 2022-10-19 09:07:13 +00:00
Arm ArmPkg: Remove RVCT support 2022-05-13 14:58:54 +00:00
ArmMmuBaseLib.inf ArmPkg: Remove RVCT support 2022-05-13 14:58:54 +00:00
ArmMmuPeiLib.inf ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00