1 #ifndef LINUX_USER_TARGET_MMAN_H
2 #define LINUX_USER_TARGET_MMAN_H
3 
4 #ifndef TARGET_MADV_NORMAL
5 #define TARGET_MADV_NORMAL 0
6 #endif
7 
8 #ifndef TARGET_MADV_RANDOM
9 #define TARGET_MADV_RANDOM 1
10 #endif
11 
12 #ifndef TARGET_MADV_SEQUENTIAL
13 #define TARGET_MADV_SEQUENTIAL 2
14 #endif
15 
16 #ifndef TARGET_MADV_WILLNEED
17 #define TARGET_MADV_WILLNEED 3
18 #endif
19 
20 #ifndef TARGET_MADV_DONTNEED
21 #define TARGET_MADV_DONTNEED 4
22 #endif
23 
24 #ifndef TARGET_MADV_FREE
25 #define TARGET_MADV_FREE 8
26 #endif
27 
28 #ifndef TARGET_MADV_REMOVE
29 #define TARGET_MADV_REMOVE 9
30 #endif
31 
32 #ifndef TARGET_MADV_DONTFORK
33 #define TARGET_MADV_DONTFORK 10
34 #endif
35 
36 #ifndef TARGET_MADV_DOFORK
37 #define TARGET_MADV_DOFORK 11
38 #endif
39 
40 #ifndef TARGET_MADV_MERGEABLE
41 #define TARGET_MADV_MERGEABLE 12
42 #endif
43 
44 #ifndef TARGET_MADV_UNMERGEABLE
45 #define TARGET_MADV_UNMERGEABLE 13
46 #endif
47 
48 #ifndef TARGET_MADV_HUGEPAGE
49 #define TARGET_MADV_HUGEPAGE 14
50 #endif
51 
52 #ifndef TARGET_MADV_NOHUGEPAGE
53 #define TARGET_MADV_NOHUGEPAGE 15
54 #endif
55 
56 #ifndef TARGET_MADV_DONTDUMP
57 #define TARGET_MADV_DONTDUMP 16
58 #endif
59 
60 #ifndef TARGET_MADV_DODUMP
61 #define TARGET_MADV_DODUMP 17
62 #endif
63 
64 #ifndef TARGET_MADV_WIPEONFORK
65 #define TARGET_MADV_WIPEONFORK 18
66 #endif
67 
68 #ifndef TARGET_MADV_KEEPONFORK
69 #define TARGET_MADV_KEEPONFORK 19
70 #endif
71 
72 #ifndef TARGET_MADV_COLD
73 #define TARGET_MADV_COLD 20
74 #endif
75 
76 #ifndef TARGET_MADV_PAGEOUT
77 #define TARGET_MADV_PAGEOUT 21
78 #endif
79 
80 #ifndef TARGET_MADV_POPULATE_READ
81 #define TARGET_MADV_POPULATE_READ 22
82 #endif
83 
84 #ifndef TARGET_MADV_POPULATE_WRITE
85 #define TARGET_MADV_POPULATE_WRITE 23
86 #endif
87 
88 #ifndef TARGET_MADV_DONTNEED_LOCKED
89 #define TARGET_MADV_DONTNEED_LOCKED 24
90 #endif
91 
92 
93 #ifndef TARGET_MS_ASYNC
94 #define TARGET_MS_ASYNC 1
95 #endif
96 
97 #ifndef TARGET_MS_INVALIDATE
98 #define TARGET_MS_INVALIDATE 2
99 #endif
100 
101 #ifndef TARGET_MS_SYNC
102 #define TARGET_MS_SYNC 4
103 #endif
104 
105 #endif
106