master
h 22 lines 421 Bytes
Raw
1 /*
2 * Sparc cpu parameters for qemu.
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7 #ifndef SPARC_CPU_PARAM_H
8 #define SPARC_CPU_PARAM_H
9
10 #ifdef TARGET_SPARC64
11 # define TARGET_PAGE_BITS 13 /* 8k */
12 # ifdef TARGET_ABI32
13 # define TARGET_VIRT_ADDR_SPACE_BITS 32
14 # else
15 # define TARGET_VIRT_ADDR_SPACE_BITS 44
16 # endif
17 #else
18 # define TARGET_PAGE_BITS 12 /* 4k */
19 # define TARGET_VIRT_ADDR_SPACE_BITS 32
20 #endif
21
22 #endif