diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-03-01 16:31:42 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-03-07 10:31:53 +0100 |
commit | 9f1dcbe8c8b337770e121fea1ef3cb26f43851c9 (patch) | |
tree | 4c0d98c1e0ff10cbbfb1878bc1ca5df887e88a01 /BaseTools/Source/Python/Ecc/CLexer.py | |
parent | d9c0d991f769c50e69d14a006bdbaaf31986143a (diff) | |
download | edk2-9f1dcbe8c8b337770e121fea1ef3cb26f43851c9.tar.gz edk2-9f1dcbe8c8b337770e121fea1ef3cb26f43851c9.tar.bz2 edk2-9f1dcbe8c8b337770e121fea1ef3cb26f43851c9.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/CLexer.py')
0 files changed, 0 insertions, 0 deletions