Merge tag 'seabios-1.16.1-20221128-pull-request' of https://gitlab.com/kraxel/qemu...
[qemu/ar7.git] / linux-user / generic / target_mman.h
blob1436a3c54308cb90bbcfb155b90a9539b0cecf61
1 #ifndef LINUX_USER_TARGET_MMAN_H
2 #define LINUX_USER_TARGET_MMAN_H
4 #ifndef TARGET_MADV_NORMAL
5 #define TARGET_MADV_NORMAL 0
6 #endif
8 #ifndef TARGET_MADV_RANDOM
9 #define TARGET_MADV_RANDOM 1
10 #endif
12 #ifndef TARGET_MADV_SEQUENTIAL
13 #define TARGET_MADV_SEQUENTIAL 2
14 #endif
16 #ifndef TARGET_MADV_WILLNEED
17 #define TARGET_MADV_WILLNEED 3
18 #endif
20 #ifndef TARGET_MADV_DONTNEED
21 #define TARGET_MADV_DONTNEED 4
22 #endif
24 #ifndef TARGET_MADV_FREE
25 #define TARGET_MADV_FREE 8
26 #endif
28 #ifndef TARGET_MADV_REMOVE
29 #define TARGET_MADV_REMOVE 9
30 #endif
32 #ifndef TARGET_MADV_DONTFORK
33 #define TARGET_MADV_DONTFORK 10
34 #endif
36 #ifndef TARGET_MADV_DOFORK
37 #define TARGET_MADV_DOFORK 11
38 #endif
40 #ifndef TARGET_MADV_MERGEABLE
41 #define TARGET_MADV_MERGEABLE 12
42 #endif
44 #ifndef TARGET_MADV_UNMERGEABLE
45 #define TARGET_MADV_UNMERGEABLE 13
46 #endif
48 #ifndef TARGET_MADV_HUGEPAGE
49 #define TARGET_MADV_HUGEPAGE 14
50 #endif
52 #ifndef TARGET_MADV_NOHUGEPAGE
53 #define TARGET_MADV_NOHUGEPAGE 15
54 #endif
56 #ifndef TARGET_MADV_DONTDUMP
57 #define TARGET_MADV_DONTDUMP 16
58 #endif
60 #ifndef TARGET_MADV_DODUMP
61 #define TARGET_MADV_DODUMP 17
62 #endif
64 #ifndef TARGET_MADV_WIPEONFORK
65 #define TARGET_MADV_WIPEONFORK 18
66 #endif
68 #ifndef TARGET_MADV_KEEPONFORK
69 #define TARGET_MADV_KEEPONFORK 19
70 #endif
72 #ifndef TARGET_MADV_COLD
73 #define TARGET_MADV_COLD 20
74 #endif
76 #ifndef TARGET_MADV_PAGEOUT
77 #define TARGET_MADV_PAGEOUT 21
78 #endif
80 #ifndef TARGET_MADV_POPULATE_READ
81 #define TARGET_MADV_POPULATE_READ 22
82 #endif
84 #ifndef TARGET_MADV_POPULATE_WRITE
85 #define TARGET_MADV_POPULATE_WRITE 23
86 #endif
88 #ifndef TARGET_MADV_DONTNEED_LOCKED
89 #define TARGET_MADV_DONTNEED_LOCKED 24
90 #endif
92 #endif