xref: /openbmc/qemu/linux-user/s390x/target_mman.h (revision a675ca4c)
1 /*
2  * arch/s390/include/asm/processor.h:
3  * TASK_UNMAPPED_BASE           (... : (_REGION2_SIZE >> 1))
4  *
5  * arch/s390/include/asm/pgtable.h:
6  * _REGION2_SIZE                (1UL << _REGION2_SHIFT)
7  * _REGION2_SHIFT               42
8  */
9 #define TASK_UNMAPPED_BASE      (1ull << 41)
10 
11 /*
12  * arch/s390/include/asm/elf.h:
13  * ELF_ET_DYN_BASE              (STACK_TOP / 3 * 2) & ~((1UL << 32) - 1)
14  *
15  * arch/s390/include/asm/processor.h:
16  * STACK_TOP                    VDSO_LIMIT - VDSO_SIZE - PAGE_SIZE
17  * VDSO_LIMIT                   _REGION2_SIZE
18  */
19 #define ELF_ET_DYN_BASE         (((1ull << 42) / 3 * 2) & ~0xffffffffull)
20 
21 #include "../generic/target_mman.h"
22