]> git.proxmox.com Git - mirror_qemu.git/blob - linux-user/hppa/target_mman.h
linux-user: Define ELF_ET_DYN_BASE in $guest/target_mman.h
[mirror_qemu.git] / linux-user / hppa / target_mman.h
1 #ifndef HPPA_TARGET_MMAN_H
2 #define HPPA_TARGET_MMAN_H
3
4 #define TARGET_MAP_TYPE 0x2b
5 #define TARGET_MAP_FIXED 0x04
6 #define TARGET_MAP_ANONYMOUS 0x10
7 #define TARGET_MAP_GROWSDOWN 0x8000
8 #define TARGET_MAP_POPULATE 0x10000
9 #define TARGET_MAP_NONBLOCK 0x20000
10 #define TARGET_MAP_STACK 0x40000
11 #define TARGET_MAP_HUGETLB 0x80000
12 #define TARGET_MAP_UNINITIALIZED 0
13
14 #define TARGET_MADV_MERGEABLE 65
15 #define TARGET_MADV_UNMERGEABLE 66
16 #define TARGET_MADV_HUGEPAGE 67
17 #define TARGET_MADV_NOHUGEPAGE 68
18 #define TARGET_MADV_DONTDUMP 69
19 #define TARGET_MADV_DODUMP 70
20 #define TARGET_MADV_WIPEONFORK 71
21 #define TARGET_MADV_KEEPONFORK 72
22
23 #define TARGET_MS_SYNC 1
24 #define TARGET_MS_ASYNC 2
25 #define TARGET_MS_INVALIDATE 4
26
27 /* arch/parisc/include/asm/processor.h: DEFAULT_MAP_BASE32 */
28 #define TASK_UNMAPPED_BASE 0x40000000
29
30 /* arch/parisc/include/asm/elf.h */
31 #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x01000000)
32
33 #include "../generic/target_mman.h"
34
35 #endif