1fcf5ef2aSThomas Huth /* 2fcf5ef2aSThomas Huth * Copyright (c) 2012-2014 Bastian Koppelmann C-Lab/University Paderborn 3fcf5ef2aSThomas Huth * 4fcf5ef2aSThomas Huth * This library is free software; you can redistribute it and/or 5fcf5ef2aSThomas Huth * modify it under the terms of the GNU Lesser General Public 6fcf5ef2aSThomas Huth * License as published by the Free Software Foundation; either 702754acdSThomas Huth * version 2.1 of the License, or (at your option) any later version. 8fcf5ef2aSThomas Huth * 9fcf5ef2aSThomas Huth * This library is distributed in the hope that it will be useful, 10fcf5ef2aSThomas Huth * but WITHOUT ANY WARRANTY; without even the implied warranty of 11fcf5ef2aSThomas Huth * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12fcf5ef2aSThomas Huth * Lesser General Public License for more details. 13fcf5ef2aSThomas Huth * 14fcf5ef2aSThomas Huth * You should have received a copy of the GNU Lesser General Public 15fcf5ef2aSThomas Huth * License along with this library; if not, see <http://www.gnu.org/licenses/>. 16fcf5ef2aSThomas Huth */ 17fcf5ef2aSThomas Huth 18fcf5ef2aSThomas Huth #ifndef QEMU_TRICORE_CPU_QOM_H 19fcf5ef2aSThomas Huth #define QEMU_TRICORE_CPU_QOM_H 20fcf5ef2aSThomas Huth 212e5b09fdSMarkus Armbruster #include "hw/core/cpu.h" 22db1015e9SEduardo Habkost #include "qom/object.h" 23fcf5ef2aSThomas Huth 24fcf5ef2aSThomas Huth 25fcf5ef2aSThomas Huth #define TYPE_TRICORE_CPU "tricore-cpu" 26fcf5ef2aSThomas Huth 27*9295b1aaSPhilippe Mathieu-Daudé OBJECT_DECLARE_CPU_TYPE(TriCoreCPU, TriCoreCPUClass, TRICORE_CPU) 28fcf5ef2aSThomas Huth 29db1015e9SEduardo Habkost struct TriCoreCPUClass { 30fcf5ef2aSThomas Huth /*< private >*/ 31fcf5ef2aSThomas Huth CPUClass parent_class; 32fcf5ef2aSThomas Huth /*< public >*/ 33fcf5ef2aSThomas Huth 34fcf5ef2aSThomas Huth DeviceRealize parent_realize; 35781c67caSPeter Maydell DeviceReset parent_reset; 36db1015e9SEduardo Habkost }; 37fcf5ef2aSThomas Huth 38fcf5ef2aSThomas Huth 39fcf5ef2aSThomas Huth #endif /* QEMU_TRICORE_CPU_QOM_H */ 40