diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-05-05 09:50:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-05 09:50:34 +0100 |
commit | 5e6232778649fb1e6c6e0aa4671efe7e559ca78d (patch) | |
tree | b687acdecbb4b7babab57d0f81452d6b83d7603e /include | |
parent | f132b4a05b23916c1101add4bd6d973a99983719 (diff) | |
parent | a56402521f80cf1b17e3936abcc6b1772aa91e66 (diff) |
Merge pull request #924 from antonio-nino-diaz-arm/an/fix-xn-bit
Fix execute-never permissions in xlat tables libs
Diffstat (limited to 'include')
-rw-r--r-- | include/lib/xlat_tables/xlat_tables_defs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/lib/xlat_tables/xlat_tables_defs.h b/include/lib/xlat_tables/xlat_tables_defs.h index 3097d9ae..c54b7294 100644 --- a/include/lib/xlat_tables/xlat_tables_defs.h +++ b/include/lib/xlat_tables/xlat_tables_defs.h @@ -32,7 +32,10 @@ #define SECOND_LEVEL_DESC_N TWO_MB_SHIFT #define THIRD_LEVEL_DESC_N FOUR_KB_SHIFT +/* XN: Translation regimes that support one VA range (EL2 and EL3). */ #define XN (ULL(1) << 2) +/* UXN, PXN: Translation regimes that support two VA ranges (EL1&0). */ +#define UXN (ULL(1) << 2) #define PXN (ULL(1) << 1) #define CONT_HINT (ULL(1) << 0) #define UPPER_ATTRS(x) (((x) & ULL(0x7)) << 52) |