1 #ifndef AARCH64_TARGET_MMAN_H
2 #define AARCH64_TARGET_MMAN_H
3 
4 #define TARGET_PROT_BTI         0x10
5 #define TARGET_PROT_MTE         0x20
6 
7 /*
8  * arch/arm64/include/asm/processor.h:
9  *
10  * TASK_UNMAPPED_BASE     DEFAULT_MAP_WINDOW / 4
11  * DEFAULT_MAP_WINDOW     DEFAULT_MAP_WINDOW_64
12  * DEFAULT_MAP_WINDOW_64  UL(1) << VA_BITS_MIN
13  * VA_BITS_MIN            48 (unless explicitly configured smaller)
14  */
15 #define TASK_UNMAPPED_BASE      (1ull << (48 - 2))
16 
17 /* arch/arm64/include/asm/elf.h */
18 #define ELF_ET_DYN_BASE         TARGET_PAGE_ALIGN((1ull << 48) / 3 * 2)
19 
20 #include "../generic/target_mman.h"
21 
22 #endif
23