virtio-net: Copy header only when necessary
[qemu/ar7.git] / linux-user / x86_64 / target_mman.h
blob48fbf20b424728883d08f18933f904ff4c87b213
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)
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)
13 /* arch/x86/include/asm/elf.h */
14 #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE * 2)
16 #include "../generic/target_mman.h"