mman.h 1.2 KB

1234567891011121314151617181920212223242526272829
  1. #ifndef _UAPI__SPARC_MMAN_H__
  2. #define _UAPI__SPARC_MMAN_H__
  3. #include <asm-generic/mman-common.h>
  4. /* SunOS'ified... */
  5. #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */
  6. #define MAP_NORESERVE 0x40 /* don't reserve swap pages */
  7. #define MAP_INHERIT 0x80 /* SunOS doesn't do this, but... */
  8. #define MAP_LOCKED 0x100 /* lock the mapping */
  9. #define _MAP_NEW 0x80000000 /* Binary compatibility is fun... */
  10. #define MAP_GROWSDOWN 0x0200 /* stack-like segment */
  11. #define MAP_DENYWRITE 0x0800 /* ETXTBSY */
  12. #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
  13. #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */
  14. #define MCL_FUTURE 0x4000 /* lock all additions to address space */
  15. #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */
  16. #define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */
  17. #define MAP_NONBLOCK 0x10000 /* do not block on IO */
  18. #define MAP_STACK 0x20000 /* give out an address that is best suited for process/thread stacks */
  19. #define MAP_HUGETLB 0x40000 /* create a huge page mapping */
  20. #endif /* _UAPI__SPARC_MMAN_H__ */