xref: /qemu/linux-user/loongarch64/target_mman.h (revision 6170d09c)
1 /*
2  * arch/loongarch/include/asm/processor.h:
3  * TASK_UNMAPPED_BASE         PAGE_ALIGN(TASK_SIZE / 3)
4  * TASK_SIZE64                0x1UL << (... ? VA_BITS : ...)
5  */
6 #define TASK_UNMAPPED_BASE \
7     TARGET_PAGE_ALIGN((1ull << TARGET_VIRT_ADDR_SPACE_BITS) / 3)
8 
9 /* arch/loongarch/include/asm/elf.h */
10 #define ELF_ET_DYN_BASE       (TASK_UNMAPPED_BASE * 2)
11 
12 #include "../generic/target_mman.h"
13