summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/arm64
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/arm64')
-rw-r--r--payloads/libpayload/include/arm64/arch/mmu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/include/arm64/arch/mmu.h b/payloads/libpayload/include/arm64/arch/mmu.h
index 30a1973cf7..2f87d09681 100644
--- a/payloads/libpayload/include/arm64/arch/mmu.h
+++ b/payloads/libpayload/include/arm64/arch/mmu.h
@@ -72,6 +72,8 @@ extern char _start[], _end[];
#define BLOCK_ACCESS (1 << 10)
+#define BLOCK_XN (1UL << 54)
+
#define BLOCK_SH_SHIFT (8)
#define BLOCK_SH_NON_SHAREABLE (0 << BLOCK_SH_SHIFT)
#define BLOCK_SH_UNPREDICTABLE (1 << BLOCK_SH_SHIFT)