xref: /openbmc/qemu/target/rx/cpu-param.h (revision a9a5c473)
1 /*
2  *  RX cpu parameters
3  *
4  *  Copyright (c) 2019 Yoshinori Sato
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms and conditions of the GNU General Public License,
8  * version 2 or later, as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along with
16  * this program.  If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef RX_CPU_PARAM_H
20 #define RX_CPU_PARAM_H
21 
22 #define TARGET_LONG_BITS 32
23 #define TARGET_PAGE_BITS 12
24 
25 #define TARGET_PHYS_ADDR_SPACE_BITS 32
26 #define TARGET_VIRT_ADDR_SPACE_BITS 32
27 
28 #define NB_MMU_MODES 1
29 
30 #endif
31