audk/ArmPkg/Include
Ard Biesheuvel 61b02ba1f2 ArmPkg/AArch64Mmu: disable MMU during page table manipulations
On ARM, manipulating live page tables is cumbersome since the architecture
mandates the use of break-before-make, i.e., replacing a block entry with
a table entry requires an intermediate step via an invalid entry, or TLB
conflicts may occur.

Since it is not generally feasible to decide in the page table manipulation
routines whether such an invalid entry will result in those routines
themselves to become unavailable, use a function that is callable with
the MMU off (i.e., a leaf function that does not access the stack) to
perform the change of a block entry into a table entry.

Note that the opposite should never occur, i.e., table entries are never
coalesced into block entries.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
2016-04-14 18:01:52 +02:00
..
Chipset ArmPkg/ArmLib: add ArmReadHcr to enable read-modify-write of HCR 2016-03-16 12:19:25 +01:00
Guid ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
IndustryStandard ArmPkg: Add PSCI 0.2 constants for system poweroff and reset 2014-09-10 18:45:08 +00:00
Library ArmPkg/AArch64Mmu: disable MMU during page table manipulations 2016-04-14 18:01:52 +02:00
Ppi ArmPkg/ArmMpCoreInfo.h: Fixed macro definition 2013-12-10 16:37:10 +00:00
Protocol ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
AsmMacroExport.inc ArmPkg RVCT: add asm macro combining EXPORT, AREA and label definition 2015-12-02 16:23:20 +00:00
AsmMacroIoLib.h ArmPkg: remove SetPrimaryStack and InitializePrimaryStack macros 2015-11-27 17:11:03 +00:00
AsmMacroIoLib.inc ArmPkg: remove SetPrimaryStack and InitializePrimaryStack macros 2015-11-27 17:11:03 +00:00
AsmMacroIoLibV8.h ArmPkg/AsmMacroIoLibV8: remove undocumented assumption from ELx macros 2016-03-22 14:39:01 +01:00