Merge tag 'v9.1.0'
[qemu/ar7.git] / target / rx / cpu-qom.h
blobac2e5785efa72f55538a9e3b9c3e87d9e889e13d
1 /*
2 * QEMU RX CPU QOM header (target agnostic)
4 * Copyright (c) 2019 Yoshinori Sato
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.
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.
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/>.
19 #ifndef RX_CPU_QOM_H
20 #define RX_CPU_QOM_H
22 #include "hw/core/cpu.h"
24 #define TYPE_RX_CPU "rx-cpu"
26 #define TYPE_RX62N_CPU RX_CPU_TYPE_NAME("rx62n")
28 OBJECT_DECLARE_CPU_TYPE(RXCPU, RXCPUClass, RX_CPU)
30 #define RX_CPU_TYPE_SUFFIX "-" TYPE_RX_CPU
31 #define RX_CPU_TYPE_NAME(model) model RX_CPU_TYPE_SUFFIX
33 #endif