xref: /openbmc/qemu/target/tricore/cpu-qom.h (revision 9348028e)
1fcf5ef2aSThomas Huth /*
2*2d56be5aSPhilippe Mathieu-Daudé  * QEMU TriCore CPU QOM header (target agnostic)
3*2d56be5aSPhilippe Mathieu-Daudé  *
4fcf5ef2aSThomas Huth  *  Copyright (c) 2012-2014 Bastian Koppelmann C-Lab/University Paderborn
5fcf5ef2aSThomas Huth  *
6fcf5ef2aSThomas Huth  * This library is free software; you can redistribute it and/or
7fcf5ef2aSThomas Huth  * modify it under the terms of the GNU Lesser General Public
8fcf5ef2aSThomas Huth  * License as published by the Free Software Foundation; either
902754acdSThomas Huth  * version 2.1 of the License, or (at your option) any later version.
10fcf5ef2aSThomas Huth  *
11fcf5ef2aSThomas Huth  * This library is distributed in the hope that it will be useful,
12fcf5ef2aSThomas Huth  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13fcf5ef2aSThomas Huth  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14fcf5ef2aSThomas Huth  * Lesser General Public License for more details.
15fcf5ef2aSThomas Huth  *
16fcf5ef2aSThomas Huth  * You should have received a copy of the GNU Lesser General Public
17fcf5ef2aSThomas Huth  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18fcf5ef2aSThomas Huth  */
19fcf5ef2aSThomas Huth 
20fcf5ef2aSThomas Huth #ifndef QEMU_TRICORE_CPU_QOM_H
21fcf5ef2aSThomas Huth #define QEMU_TRICORE_CPU_QOM_H
22fcf5ef2aSThomas Huth 
232e5b09fdSMarkus Armbruster #include "hw/core/cpu.h"
24fcf5ef2aSThomas Huth 
25fcf5ef2aSThomas Huth #define TYPE_TRICORE_CPU "tricore-cpu"
26fcf5ef2aSThomas Huth 
279295b1aaSPhilippe Mathieu-Daudé OBJECT_DECLARE_CPU_TYPE(TriCoreCPU, TriCoreCPUClass, TRICORE_CPU)
28fcf5ef2aSThomas Huth 
29*2d56be5aSPhilippe Mathieu-Daudé #define TRICORE_CPU_TYPE_SUFFIX "-" TYPE_TRICORE_CPU
30*2d56be5aSPhilippe Mathieu-Daudé #define TRICORE_CPU_TYPE_NAME(model) model TRICORE_CPU_TYPE_SUFFIX
31*2d56be5aSPhilippe Mathieu-Daudé 
32fcf5ef2aSThomas Huth #endif /* QEMU_TRICORE_CPU_QOM_H */
33