xref: /openbmc/qemu/linux-user/alpha/target_mman.h (revision 2f95279a)
1 #ifndef ALPHA_TARGET_MMAN_H
2 #define ALPHA_TARGET_MMAN_H
3 
4 #define TARGET_MAP_ANONYMOUS            0x10
5 #define TARGET_MAP_FIXED                0x100
6 #define TARGET_MAP_GROWSDOWN            0x01000
7 #define TARGET_MAP_DENYWRITE            0x02000
8 #define TARGET_MAP_EXECUTABLE           0x04000
9 #define TARGET_MAP_LOCKED               0x08000
10 #define TARGET_MAP_NORESERVE            0x10000
11 #define TARGET_MAP_POPULATE             0x20000
12 #define TARGET_MAP_NONBLOCK             0x40000
13 #define TARGET_MAP_STACK                0x80000
14 #define TARGET_MAP_HUGETLB              0x100000
15 #define TARGET_MAP_FIXED_NOREPLACE      0x200000
16 
17 #define TARGET_MADV_DONTNEED 6
18 
19 #define TARGET_MS_ASYNC 1
20 #define TARGET_MS_SYNC 2
21 #define TARGET_MS_INVALIDATE 4
22 
23 /*
24  * arch/alpha/include/asm/processor.h:
25  *
26  * TASK_UNMAPPED_BASE           TASK_SIZE / 2
27  * TASK_SIZE                    0x40000000000UL
28  */
29 #define TASK_UNMAPPED_BASE      0x20000000000ull
30 
31 /* arch/alpha/include/asm/elf.h */
32 #define ELF_ET_DYN_BASE         (TASK_UNMAPPED_BASE + 0x1000000)
33 
34 #include "../generic/target_mman.h"
35 
36 #endif
37