xref: /openbmc/qemu/target/rx/cpu-qom.h (revision 9348028e)
127a4a30eSYoshinori Sato /*
2*2d56be5aSPhilippe Mathieu-Daudé  * QEMU RX CPU QOM header (target agnostic)
327a4a30eSYoshinori Sato  *
427a4a30eSYoshinori Sato  * Copyright (c) 2019 Yoshinori Sato
527a4a30eSYoshinori Sato  *
627a4a30eSYoshinori Sato  * This program is free software; you can redistribute it and/or modify it
727a4a30eSYoshinori Sato  * under the terms and conditions of the GNU General Public License,
827a4a30eSYoshinori Sato  * version 2 or later, as published by the Free Software Foundation.
927a4a30eSYoshinori Sato  *
1027a4a30eSYoshinori Sato  * This program is distributed in the hope it will be useful, but WITHOUT
1127a4a30eSYoshinori Sato  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1227a4a30eSYoshinori Sato  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
1327a4a30eSYoshinori Sato  * more details.
1427a4a30eSYoshinori Sato  *
1527a4a30eSYoshinori Sato  * You should have received a copy of the GNU General Public License along with
1627a4a30eSYoshinori Sato  * this program.  If not, see <http://www.gnu.org/licenses/>.
1727a4a30eSYoshinori Sato  */
1827a4a30eSYoshinori Sato 
1927a4a30eSYoshinori Sato #ifndef RX_CPU_QOM_H
2027a4a30eSYoshinori Sato #define RX_CPU_QOM_H
2127a4a30eSYoshinori Sato 
2227a4a30eSYoshinori Sato #include "hw/core/cpu.h"
2327a4a30eSYoshinori Sato 
2427a4a30eSYoshinori Sato #define TYPE_RX_CPU "rx-cpu"
2527a4a30eSYoshinori Sato 
2627a4a30eSYoshinori Sato #define TYPE_RX62N_CPU RX_CPU_TYPE_NAME("rx62n")
2727a4a30eSYoshinori Sato 
289295b1aaSPhilippe Mathieu-Daudé OBJECT_DECLARE_CPU_TYPE(RXCPU, RXCPUClass, RX_CPU)
2927a4a30eSYoshinori Sato 
30*2d56be5aSPhilippe Mathieu-Daudé #define RX_CPU_TYPE_SUFFIX "-" TYPE_RX_CPU
31*2d56be5aSPhilippe Mathieu-Daudé #define RX_CPU_TYPE_NAME(model) model RX_CPU_TYPE_SUFFIX
32*2d56be5aSPhilippe Mathieu-Daudé 
3327a4a30eSYoshinori Sato #endif
34