1492fe4e7SRichard Henderson #ifndef MIPS_TARGET_MMAN_H 2492fe4e7SRichard Henderson #define MIPS_TARGET_MMAN_H 3492fe4e7SRichard Henderson 46edfca9eSRichard Henderson #define TARGET_PROT_SEM 0x10 56edfca9eSRichard Henderson 6492fe4e7SRichard Henderson #define TARGET_MAP_NORESERVE 0x0400 7492fe4e7SRichard Henderson #define TARGET_MAP_ANONYMOUS 0x0800 8492fe4e7SRichard Henderson #define TARGET_MAP_GROWSDOWN 0x1000 9492fe4e7SRichard Henderson #define TARGET_MAP_DENYWRITE 0x2000 10492fe4e7SRichard Henderson #define TARGET_MAP_EXECUTABLE 0x4000 11492fe4e7SRichard Henderson #define TARGET_MAP_LOCKED 0x8000 12492fe4e7SRichard Henderson #define TARGET_MAP_POPULATE 0x10000 13492fe4e7SRichard Henderson #define TARGET_MAP_NONBLOCK 0x20000 14492fe4e7SRichard Henderson #define TARGET_MAP_STACK 0x40000 15492fe4e7SRichard Henderson #define TARGET_MAP_HUGETLB 0x80000 16492fe4e7SRichard Henderson 172d708164SRichard Henderson /* 182d708164SRichard Henderson * arch/mips/include/asm/processor.h: 192d708164SRichard Henderson * TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3) 202d708164SRichard Henderson */ 212d708164SRichard Henderson #define TASK_UNMAPPED_BASE \ 222d708164SRichard Henderson TARGET_PAGE_ALIGN((1ull << TARGET_VIRT_ADDR_SPACE_BITS) / 3) 232d708164SRichard Henderson 24*da2b71faSRichard Henderson /* arch/mips/include/asm/elf.h */ 25*da2b71faSRichard Henderson #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE * 2) 26*da2b71faSRichard Henderson 279f22020bSIlya Leoshkevich #include "../generic/target_mman.h" 28492fe4e7SRichard Henderson 29492fe4e7SRichard Henderson #endif 30