hw/intc/loongarch_extioi: Add vmstate post_load support
[qemu/ar7.git] / linux-user / mips / target_mman.h
blobb84fe1e8a8678438432ce4c15b5135f37a5f1936
1 #ifndef MIPS_TARGET_MMAN_H
2 #define MIPS_TARGET_MMAN_H
4 #define TARGET_PROT_SEM 0x10
6 #define TARGET_MAP_NORESERVE 0x0400
7 #define TARGET_MAP_ANONYMOUS 0x0800
8 #define TARGET_MAP_GROWSDOWN 0x1000
9 #define TARGET_MAP_DENYWRITE 0x2000
10 #define TARGET_MAP_EXECUTABLE 0x4000
11 #define TARGET_MAP_LOCKED 0x8000
12 #define TARGET_MAP_POPULATE 0x10000
13 #define TARGET_MAP_NONBLOCK 0x20000
14 #define TARGET_MAP_STACK 0x40000
15 #define TARGET_MAP_HUGETLB 0x80000
18 * arch/mips/include/asm/processor.h:
19 * TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
21 #define TASK_UNMAPPED_BASE \
22 TARGET_PAGE_ALIGN((1ull << TARGET_VIRT_ADDR_SPACE_BITS) / 3)
24 /* arch/mips/include/asm/elf.h */
25 #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE * 2)
27 #include "../generic/target_mman.h"
29 #endif