diff options
author | Heyi Guo <heyi.guo@linaro.org> | 2016-04-14 17:24:47 +0800 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-04-14 11:38:36 +0200 |
commit | 40e06cad13787d8397949a9c5dd3e41f2cf3caed (patch) | |
tree | 72d77852d2c0c44714b1f16e296d0dcd9734cda6 /EmbeddedPkg/Include/Library/AcpiLib.h | |
parent | 7959b06748495da65d268de2c6643001e069ff80 (diff) | |
download | edk2-platforms-40e06cad13787d8397949a9c5dd3e41f2cf3caed.tar.xz |
ArmPkg/AArch64Mmu: Fix XN attribute for device memory
Now XN attribute will be set automatically if the region is declared
as device memory. However, the function ArmMemoryAttributeToPageAttribute
is to get attribute for block and page descriptors, not for table
descriptors, so attribute TT_TABLE_*XN does not really take effect.
Need to use TT_*XN_MASK instead.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'EmbeddedPkg/Include/Library/AcpiLib.h')
0 files changed, 0 insertions, 0 deletions