Michal Simek | 4115ac8 | 2009-03-27 14:25:43 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2006 Atmark Techno, Inc. |
| 3 | * |
| 4 | * This file is subject to the terms and conditions of the GNU General Public |
| 5 | * License. See the file "COPYING" in the main directory of this archive |
| 6 | * for more details. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _ASM_MICROBLAZE_MMAN_H |
| 10 | #define _ASM_MICROBLAZE_MMAN_H |
| 11 | |
| 12 | #include <asm-generic/mman.h> |
| 13 | |
| 14 | #define MAP_GROWSDOWN 0x0100 /* stack-like segment */ |
| 15 | #define MAP_DENYWRITE 0x0800 /* ETXTBSY */ |
| 16 | #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */ |
| 17 | #define MAP_LOCKED 0x2000 /* pages are locked */ |
| 18 | #define MAP_NORESERVE 0x4000 /* don't check for reservations */ |
| 19 | #define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */ |
| 20 | #define MAP_NONBLOCK 0x10000 /* do not block on IO */ |
| 21 | |
| 22 | #define MCL_CURRENT 1 /* lock all current mappings */ |
| 23 | #define MCL_FUTURE 2 /* lock all future mappings */ |
| 24 | |
| 25 | #endif /* _ASM_MICROBLAZE_MMAN_H */ |