Home | History | Annotate | Download | only in asm-generic
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef _ASM_GENERIC_MMAN_H
     13 #define _ASM_GENERIC_MMAN_H
     14 
     15 #define PROT_READ 0x1
     16 #define PROT_WRITE 0x2
     17 #define PROT_EXEC 0x4
     18 #define PROT_SEM 0x8
     19 #define PROT_NONE 0x0
     20 #define PROT_GROWSDOWN 0x01000000
     21 #define PROT_GROWSUP 0x02000000
     22 
     23 #define MAP_SHARED 0x01
     24 #define MAP_PRIVATE 0x02
     25 #define MAP_TYPE 0x0f
     26 #define MAP_FIXED 0x10
     27 #define MAP_ANONYMOUS 0x20
     28 
     29 #define MS_ASYNC 1
     30 #define MS_INVALIDATE 2
     31 #define MS_SYNC 4
     32 
     33 #define MADV_NORMAL 0
     34 #define MADV_RANDOM 1
     35 #define MADV_SEQUENTIAL 2
     36 #define MADV_WILLNEED 3
     37 #define MADV_DONTNEED 4
     38 
     39 #define MADV_REMOVE 9
     40 #define MADV_DONTFORK 10
     41 #define MADV_DOFORK 11
     42 
     43 #define MAP_ANON MAP_ANONYMOUS
     44 #define MAP_FILE 0
     45 
     46 #endif
     47