1 #ifndef __ALPHA_MMAN_H__
2 #define __ALPHA_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 0x100
13 #define MAP_ANONYMOUS 0x10
14
15
16 #define MAP_HASSEMAPHORE 0x0200
17 #define MAP_INHERIT 0x0400
18 #define MAP_UNALIGNED 0x0800
19
20
21 #define MAP_GROWSDOWN 0x1000
22 #define MAP_DENYWRITE 0x2000
23 #define MAP_EXECUTABLE 0x4000
24 #define MAP_LOCKED 0x8000
25
26 #define MS_ASYNC 1
27 #define MS_SYNC 2
28 #define MS_INVALIDATE 4
29
30 #define MCL_CURRENT 8192
31 #define MCL_FUTURE 16384
32
33
34 #define MAP_ANON MAP_ANONYMOUS
35 #define MAP_FILE 0
36
37 #endif