|
@@ -12,6 +12,7 @@
|
|
#define MAP_NORESERVE 0x4000 /* don't check for reservations */
|
|
#define MAP_NORESERVE 0x4000 /* don't check for reservations */
|
|
#define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */
|
|
#define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */
|
|
#define MAP_NONBLOCK 0x10000 /* do not block on IO */
|
|
#define MAP_NONBLOCK 0x10000 /* do not block on IO */
|
|
|
|
+#define MAP_STACK 0x20000 /* give out an address that is best suited for process/thread stacks */
|
|
|
|
|
|
#define MCL_CURRENT 1 /* lock all current mappings */
|
|
#define MCL_CURRENT 1 /* lock all current mappings */
|
|
#define MCL_FUTURE 2 /* lock all future mappings */
|
|
#define MCL_FUTURE 2 /* lock all future mappings */
|