mman.h 853 B

12345678910111213141516171819202122232425
  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. #ifndef _ASM_MICROBLAZE_MMAN_H
  9. #define _ASM_MICROBLAZE_MMAN_H
  10. #include <asm-generic/mman.h>
  11. #define MAP_GROWSDOWN 0x0100 /* stack-like segment */
  12. #define MAP_DENYWRITE 0x0800 /* ETXTBSY */
  13. #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
  14. #define MAP_LOCKED 0x2000 /* pages are locked */
  15. #define MAP_NORESERVE 0x4000 /* don't check for reservations */
  16. #define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */
  17. #define MAP_NONBLOCK 0x10000 /* do not block on IO */
  18. #define MCL_CURRENT 1 /* lock all current mappings */
  19. #define MCL_FUTURE 2 /* lock all future mappings */
  20. #endif /* _ASM_MICROBLAZE_MMAN_H */