xref: /qemu/target/xtensa/cpu-param.h (revision fc524567087c2537b5103cdfc1d41e4f442892b6)
1 /*
2  * Xtensa cpu parameters for qemu.
3  *
4  * Copyright (c) 2011, Max Filippov, Open Source and Linux Lab.
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #ifndef XTENSA_CPU_PARAM_H
9 #define XTENSA_CPU_PARAM_H
10 
11 #define TARGET_PAGE_BITS 12
12 #define TARGET_PHYS_ADDR_SPACE_BITS 32
13 #ifdef CONFIG_USER_ONLY
14 #define TARGET_VIRT_ADDR_SPACE_BITS 30
15 #else
16 #define TARGET_VIRT_ADDR_SPACE_BITS 32
17 #endif
18 
19 #define TARGET_INSN_START_EXTRA_WORDS 0
20 
21 #endif
22