1f1c671f9SMichael Rolnik /* 2*2d56be5aSPhilippe Mathieu-Daudé * QEMU AVR CPU QOM header (target agnostic) 3f1c671f9SMichael Rolnik * 4f1c671f9SMichael Rolnik * Copyright (c) 2016-2020 Michael Rolnik 5f1c671f9SMichael Rolnik * 6f1c671f9SMichael Rolnik * This library is free software; you can redistribute it and/or 7f1c671f9SMichael Rolnik * modify it under the terms of the GNU Lesser General Public 8f1c671f9SMichael Rolnik * License as published by the Free Software Foundation; either 9f1c671f9SMichael Rolnik * version 2.1 of the License, or (at your option) any later version. 10f1c671f9SMichael Rolnik * 11f1c671f9SMichael Rolnik * This library is distributed in the hope that it will be useful, 12f1c671f9SMichael Rolnik * but WITHOUT ANY WARRANTY; without even the implied warranty of 13f1c671f9SMichael Rolnik * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14f1c671f9SMichael Rolnik * Lesser General Public License for more details. 15f1c671f9SMichael Rolnik * 16f1c671f9SMichael Rolnik * You should have received a copy of the GNU Lesser General Public 17f1c671f9SMichael Rolnik * License along with this library; if not, see 18f1c671f9SMichael Rolnik * <http://www.gnu.org/licenses/lgpl-2.1.html> 19f1c671f9SMichael Rolnik */ 20f1c671f9SMichael Rolnik 2152581c71SMarkus Armbruster #ifndef TARGET_AVR_CPU_QOM_H 2252581c71SMarkus Armbruster #define TARGET_AVR_CPU_QOM_H 23f1c671f9SMichael Rolnik 24f1c671f9SMichael Rolnik #include "hw/core/cpu.h" 25f1c671f9SMichael Rolnik 26f1c671f9SMichael Rolnik #define TYPE_AVR_CPU "avr-cpu" 27f1c671f9SMichael Rolnik 289295b1aaSPhilippe Mathieu-Daudé OBJECT_DECLARE_CPU_TYPE(AVRCPU, AVRCPUClass, AVR_CPU) 29f1c671f9SMichael Rolnik 30*2d56be5aSPhilippe Mathieu-Daudé #define AVR_CPU_TYPE_SUFFIX "-" TYPE_AVR_CPU 31*2d56be5aSPhilippe Mathieu-Daudé #define AVR_CPU_TYPE_NAME(name) (name AVR_CPU_TYPE_SUFFIX) 32*2d56be5aSPhilippe Mathieu-Daudé 3352581c71SMarkus Armbruster #endif /* TARGET_AVR_CPU_QOM_H */ 34