xref: /openbmc/qemu/target/openrisc/cpu-qom.h (revision 542b10bd)
1 /*
2  * QEMU OpenRISC CPU QOM header (target agnostic)
3  *
4  * Copyright (c) 2011-2012 Jia Liu <proljc@gmail.com>
5  *
6  * SPDX-License-Identifier: LGPL-2.1-or-later
7  */
8 
9 #ifndef QEMU_OPENRISC_CPU_QOM_H
10 #define QEMU_OPENRISC_CPU_QOM_H
11 
12 #include "hw/core/cpu.h"
13 
14 #define TYPE_OPENRISC_CPU "or1k-cpu"
15 
16 OBJECT_DECLARE_CPU_TYPE(OpenRISCCPU, OpenRISCCPUClass, OPENRISC_CPU)
17 
18 #define OPENRISC_CPU_TYPE_SUFFIX "-" TYPE_OPENRISC_CPU
19 #define OPENRISC_CPU_TYPE_NAME(model) model OPENRISC_CPU_TYPE_SUFFIX
20 
21 #endif
22