audk/ArmPkg/Library/ArmMmuLib/Arm
Ard Biesheuvel 9f1dcbe8c8 ArmPkg/ArmMmuLib ARM: implement memory permission control routines
Now that we have the prerequisite functionality available in ArmMmuLib,
wire it up into ArmSetMemoryRegionNoExec, ArmClearMemoryRegionNoExec,
ArmSetMemoryRegionReadOnly and ArmClearMemoryRegionReadOnly. This is
used by the non-executable stack feature that is configured by DxeIpl.

NOTE: The current implementation will not combine RO and XP attributes,
      i.e., setting/clearing a region no-exec will unconditionally
      clear the read-only attribute, and vice versa. Currently, we
      only use ArmSetMemoryRegionNoExec(), so for now, we should be
      able to live with this.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-03-07 10:31:53 +01:00
..
ArmMmuLibCore.c ArmPkg/ArmMmuLib ARM: implement memory permission control routines 2017-03-07 10:31:53 +01:00
ArmMmuLibV7Support.S ArmPkg: introduce base ArmMmuLib implementation 2016-07-07 14:33:47 +02:00
ArmMmuLibV7Support.asm ArmPkg: introduce base ArmMmuLib implementation 2016-07-07 14:33:47 +02:00