add more arch-specific MAP_ macros to bits/mman.h

these are also needed by qemu.
This commit is contained in:
rofl0r 2012-12-06 16:57:22 +01:00
parent db846a6217
commit 7e0d4fce41
6 changed files with 24 additions and 0 deletions

View File

@ -16,6 +16,10 @@
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_NORESERVE 0x4000
#define MAP_GROWSDOWN 0x0100
#define MAP_DENYWRITE 0x0800
#define MAP_EXECUTABLE 0x1000
#define MAP_LOCKED 0x2000
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1

View File

@ -17,6 +17,10 @@
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
#define MAP_NORESERVE 0x4000
#define MAP_GROWSDOWN 0x0100
#define MAP_DENYWRITE 0x0800
#define MAP_EXECUTABLE 0x1000
#define MAP_LOCKED 0x2000
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1

View File

@ -16,6 +16,10 @@
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_NORESERVE 0x4000
#define MAP_GROWSDOWN 0x0100
#define MAP_DENYWRITE 0x0800
#define MAP_EXECUTABLE 0x1000
#define MAP_LOCKED 0x2000
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1

View File

@ -16,6 +16,10 @@
#define MAP_ANON 0x800
#define MAP_ANONYMOUS MAP_ANON
#define MAP_NORESERVE 0x0400
#define MAP_GROWSDOWN 0x1000
#define MAP_DENYWRITE 0x2000
#define MAP_EXECUTABLE 0x4000
#define MAP_LOCKED 0x8000
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1

View File

@ -16,6 +16,10 @@
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_NORESERVE 0x40
#define MAP_GROWSDOWN 0x0100
#define MAP_DENYWRITE 0x0800
#define MAP_EXECUTABLE 0x1000
#define MAP_LOCKED 0x80
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1

View File

@ -17,6 +17,10 @@
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
#define MAP_NORESERVE 0x4000
#define MAP_GROWSDOWN 0x0100
#define MAP_DENYWRITE 0x0800
#define MAP_EXECUTABLE 0x1000
#define MAP_LOCKED 0x2000
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1