diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-03-02 10:36:15 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-03-07 09:10:01 +0100 |
commit | 08b504d9d81795fad64a5b4c482b30a93a5a68aa (patch) | |
tree | 313afe6e1a84df2346bd3fe7d1c2d44738967904 /ArmVirtPkg | |
parent | 22c7a5b70e220f681f10a0bb70fc0d76775f1b8e (diff) | |
download | edk2-platforms-08b504d9d81795fad64a5b4c482b30a93a5a68aa.tar.xz |
ArmPkg/CpuDxe ARM: honour RO/XP attributes in SetMemoryAttributes()
Enable the use of strict memory permissions on ARM by processing the
EFI_MEMORY_RO and EFI_MEMORY_XP rather than ignoring them. As before,
calls to CpuArchProtocol::SetMemoryAttributes that only set RO/XP
bits will preserve the cacheability attributes. Permissions attributes
are not preserved when setting the memory type only: the way the memory
permission attributes are defined does not allows for that, and so this
situation does not deviate from other architectures.
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 'ArmVirtPkg')
0 files changed, 0 insertions, 0 deletions