]> git.proxmox.com Git - mirror_qemu.git/blame - target/i386/cpu-param.h
hw/xen: Implement EVTCHNOP_alloc_unbound
[mirror_qemu.git] / target / i386 / cpu-param.h
CommitLineData
74433bf0
RH
1/*
2 * i386 cpu parameters for qemu.
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 * SPDX-License-Identifier: LGPL-2.0+
6 */
7
8#ifndef I386_CPU_PARAM_H
4f31b54b 9#define I386_CPU_PARAM_H
74433bf0
RH
10
11#ifdef TARGET_X86_64
12# define TARGET_LONG_BITS 64
13# define TARGET_PHYS_ADDR_SPACE_BITS 52
14/*
15 * ??? This is really 48 bits, sign-extended, but the only thing
16 * accessible to userland with bit 48 set is the VSYSCALL, and that
17 * is handled via other mechanisms.
18 */
19# define TARGET_VIRT_ADDR_SPACE_BITS 47
20#else
21# define TARGET_LONG_BITS 32
22# define TARGET_PHYS_ADDR_SPACE_BITS 36
23# define TARGET_VIRT_ADDR_SPACE_BITS 32
24#endif
25#define TARGET_PAGE_BITS 12
98281984 26#define NB_MMU_MODES 5
74433bf0 27
e3a79e0e
RH
28#ifndef CONFIG_USER_ONLY
29# define TARGET_TB_PCREL 1
30#endif
31
74433bf0 32#endif