1 #ifndef XTENSA_TARGET_MMAN_H
2 #define XTENSA_TARGET_MMAN_H
3 
4 #define TARGET_PROT_SEM                 0x10
5 
6 #define TARGET_MAP_NORESERVE            0x0400
7 #define TARGET_MAP_ANONYMOUS            0x0800
8 #define TARGET_MAP_GROWSDOWN            0x1000
9 #define TARGET_MAP_DENYWRITE            0x2000
10 #define TARGET_MAP_EXECUTABLE           0x4000
11 #define TARGET_MAP_LOCKED               0x8000
12 #define TARGET_MAP_POPULATE             0x10000
13 #define TARGET_MAP_NONBLOCK             0x20000
14 #define TARGET_MAP_STACK                0x40000
15 #define TARGET_MAP_HUGETLB              0x80000
16 
17 /*
18  * arch/xtensa/include/asm/processor.h:
19  * TASK_UNMAPPED_BASE           (TASK_SIZE / 2)
20  */
21 #define TASK_UNMAPPED_BASE      (1u << (TARGET_VIRT_ADDR_SPACE_BITS - 1))
22 
23 /* arch/xtensa/include/asm/elf.h */
24 #define ELF_ET_DYN_BASE \
25     TARGET_PAGE_ALIGN((1u << TARGET_VIRT_ADDR_SPACE_BITS) / 3)
26 
27 #include "../generic/target_mman.h"
28 
29 #endif
30