Blame arch/nt64/bits/mman.h

87820a
#define MAP_FAILED ((void *) -1)
87820a
87820a
#define	PROT_NONE      0
87820a
#define	PROT_READ      1
87820a
#define	PROT_WRITE     2
87820a
#define	PROT_EXEC      4
87820a
#define PROT_GROWSDOWN  0x01000000
87820a
#define PROT_GROWSUP    0x02000000
87820a
87820a
#define	MAP_SHARED     0x01
87820a
#define	MAP_PRIVATE    0x02
87820a
#define	MAP_FIXED      0x10
87820a
7be694
#define MAP_FILE       0
87820a
#define MAP_TYPE       0x0f
87820a
#define MAP_ANON       0x20
87820a
#define MAP_ANONYMOUS  MAP_ANON
87820a
#define MAP_32BIT      0x40
87820a
#define MAP_NORESERVE  0x4000
87820a
#define MAP_GROWSDOWN  0x0100
87820a
#define MAP_DENYWRITE  0x0800
87820a
#define MAP_EXECUTABLE 0x1000
87820a
#define MAP_LOCKED     0x2000
87820a
#define MAP_POPULATE   0x8000
87820a
#define MAP_NONBLOCK   0x10000
87820a
#define MAP_STACK      0x20000
87820a
#define MAP_HUGETLB    0x40000
87820a
87820a
#define POSIX_MADV_NORMAL       0
87820a
#define POSIX_MADV_RANDOM       1
87820a
#define POSIX_MADV_SEQUENTIAL   2
87820a
#define POSIX_MADV_WILLNEED     3
7be694
#define POSIX_MADV_DONTNEED     4
87820a
87820a
#define MS_ASYNC        1
87820a
#define MS_INVALIDATE   2
87820a
#define MS_SYNC         4
87820a
87820a
#define MCL_CURRENT     1
87820a
#define MCL_FUTURE      2
87820a
87820a
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
87820a
#define MADV_NORMAL      0
87820a
#define MADV_RANDOM      1
87820a
#define MADV_SEQUENTIAL  2
87820a
#define MADV_WILLNEED    3
87820a
#define MADV_DONTNEED    4
87820a
#define MADV_REMOVE      9
87820a
#define MADV_DONTFORK    10
87820a
#define MADV_DOFORK      11
87820a
#define MADV_MERGEABLE   12
87820a
#define MADV_UNMERGEABLE 13
87820a
#define MADV_HUGEPAGE    14
87820a
#define MADV_NOHUGEPAGE  15
87820a
#define MADV_DONTDUMP    16
87820a
#define MADV_DODUMP      17
87820a
#define MADV_HWPOISON    100
87820a
#define MADV_SOFT_OFFLINE 101
87820a
#endif