qapi/error: Check format string argument in error_*prepend()
[qemu/armbru.git] / target / sparc / cpu-param.h
blob4746d89411585c2164fa93d9d1940b2a77bfc642
1 /*
2 * Sparc cpu parameters for qemu.
4 * SPDX-License-Identifier: LGPL-2.0+
5 */
7 #ifndef SPARC_CPU_PARAM_H
8 #define SPARC_CPU_PARAM_H 1
10 #ifdef TARGET_SPARC64
11 # define TARGET_LONG_BITS 64
12 # define TARGET_PAGE_BITS 13 /* 8k */
13 # define TARGET_PHYS_ADDR_SPACE_BITS 41
14 # ifdef TARGET_ABI32
15 # define TARGET_VIRT_ADDR_SPACE_BITS 32
16 # else
17 # define TARGET_VIRT_ADDR_SPACE_BITS 44
18 # endif
19 # define NB_MMU_MODES 6
20 #else
21 # define TARGET_LONG_BITS 32
22 # define TARGET_PAGE_BITS 12 /* 4k */
23 # define TARGET_PHYS_ADDR_SPACE_BITS 36
24 # define TARGET_VIRT_ADDR_SPACE_BITS 32
25 # define NB_MMU_MODES 3
26 #endif
28 #endif