]> git.proxmox.com Git - mirror_qemu.git/blame - linux-user/x86_64/target_mman.h
Merge tag 'pull-ppc-20230906' of https://github.com/legoater/qemu into staging
[mirror_qemu.git] / linux-user / x86_64 / target_mman.h
CommitLineData
2d708164
RH
1/*
2 * arch/x86/include/asm/processor.h:
3 * TASK_UNMAPPED_BASE __TASK_UNMAPPED_BASE(TASK_SIZE_LOW)
4 * __TASK_UNMAPPED_BASE(S) PAGE_ALIGN(S / 3)
5 *
6 * arch/x86/include/asm/page_64_types.h:
7 * TASK_SIZE_LOW DEFAULT_MAP_WINDOW
8 * DEFAULT_MAP_WINDOW ((1UL << 47) - PAGE_SIZE)
9 */
10#define TASK_UNMAPPED_BASE \
11 TARGET_PAGE_ALIGN((1ull << TARGET_VIRT_ADDR_SPACE_BITS) / 3)
12
da2b71fa
RH
13/* arch/x86/include/asm/elf.h */
14#define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE * 2)
15
9f22020b 16#include "../generic/target_mman.h"