1 #ifndef __I386_MMAN_H__
2 #define __I386_MMAN_H__
3
4 #define PROT_READ 0x1
5 #define PROT_WRITE 0x2
6 #define PROT_EXEC 0x4
7 #define PROT_NONE 0x0
8
9 #define MAP_SHARED 0x01
10 #define MAP_PRIVATE 0x02
11 #define MAP_TYPE 0x0f
12 #define MAP_FIXED 0x10
13 #define MAP_ANONYMOUS 0x20
14
15 #define MAP_GROWSDOWN 0x0100
16 #define MAP_DENYWRITE 0x0800
17 #define MAP_EXECUTABLE 0x1000
18 #define MAP_LOCKED 0x2000
19
20 #define MS_ASYNC 1
21 #define MS_INVALIDATE 2
22 #define MS_SYNC 4
23
24 #define MCL_CURRENT 1
25 #define MCL_FUTURE 2
26
27
28 #define MAP_ANON MAP_ANONYMOUS
29 #define MAP_FILE 0
30
31 #endif