1 #ifndef __LUNAIX_SYS_MANN_FLAGS_H
2 #define __LUNAIX_SYS_MANN_FLAGS_H
6 // identity mapped to region attributes
7 #define PROT_READ (1 << 2)
8 #define PROT_WRITE (1 << 3)
9 #define PROT_EXEC (1 << 4)
11 // identity mapped to region attributes
13 #define MAP_WSHARED 0x2
14 #define MAP_RSHARED 0x1
15 #define MAP_SHARED MAP_WSHARED
16 #define MAP_PRIVATE MAP_RSHARED
17 #define MAP_EXCLUSIVE 0x0
18 #define MAP_ANON (1 << 5)
19 #define MAP_STACK 0 // no effect in Lunaix
21 // other MAP_* goes should beyond 0x20
23 #define MAP_FIXED 0x40
27 #define MS_INVALIDATE 0x4
29 #endif /* __LUNAIX_MANN_FLAGS_H */