audk/ArmPkg/Include
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
..
Chipset ArmPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Guid ArmPkg/CpuDxe: drop ARM_PROCESSOR_TABLE pseudo-ACPI table 2022-07-22 17:10:09 +00:00
IndustryStandard ArmPkg: Handle warm reboot request correctly 2022-09-05 13:52:51 +00:00
Library ArmPkg/ArmMmuLib: Disable and re-enable MMU only when needed 2022-10-19 09:07:13 +00:00
Ppi ArmPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Protocol ArmPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
AsmMacroIoLib.h ArmPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
AsmMacroIoLib.inc ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
AsmMacroIoLibV8.h ArmPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00