Go to the documentation of this file.
14 #ifndef _XTENSA_MMAN_H
15 #define _XTENSA_MMAN_H
26 #define PROT_WRITE 0x2
30 #define PROT_GROWSDOWN 0x01000000
31 #define PROT_GROWSUP 0x02000000
36 #define MAP_SHARED 0x001
37 #define MAP_PRIVATE 0x002
38 #define MAP_TYPE 0x00f
39 #define MAP_FIXED 0x010
42 #define MAP_RENAME 0x020
43 #define MAP_AUTOGROW 0x040
44 #define MAP_LOCAL 0x080
45 #define MAP_AUTORSRV 0x100
48 #define MAP_NORESERVE 0x0400
49 #define MAP_ANONYMOUS 0x0800
50 #define MAP_GROWSDOWN 0x1000
51 #define MAP_DENYWRITE 0x2000
52 #define MAP_EXECUTABLE 0x4000
53 #define MAP_LOCKED 0x8000
54 #define MAP_POPULATE 0x10000
55 #define MAP_NONBLOCK 0x20000
56 #define MAP_STACK 0x40000
57 #define MAP_HUGETLB 0x80000
62 #define MS_ASYNC 0x0001
63 #define MS_INVALIDATE 0x0002
64 #define MS_SYNC 0x0004
74 #define MADV_SEQUENTIAL 2
75 #define MADV_WILLNEED 3
76 #define MADV_DONTNEED 4
80 #define MADV_DONTFORK 10
81 #define MADV_DOFORK 11
83 #define MADV_MERGEABLE 12
84 #define MADV_UNMERGEABLE 13
86 #define MADV_HUGEPAGE 14
87 #define MADV_NOHUGEPAGE 15
89 #define MADV_DONTDUMP 16
91 #define MADV_DODUMP 17