master
h 23 lines 507 Bytes
Raw
1 /*
2 * i386 cpu parameters for qemu.
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7
8 #ifndef I386_CPU_PARAM_H
9 #define I386_CPU_PARAM_H
10
11 #ifdef TARGET_X86_64
12 /*
13 * ??? This is really 48 bits, sign-extended, but the only thing
14 * accessible to userland with bit 48 set is the VSYSCALL, and that
15 * is handled via other mechanisms.
16 */
17 # define TARGET_VIRT_ADDR_SPACE_BITS 47
18 #else
19 # define TARGET_VIRT_ADDR_SPACE_BITS 32
20 #endif
21 #define TARGET_PAGE_BITS 12
22
23 #endif