xref: /qemu/target/s390x/cpu-qom.h (revision ed1d873caa93fde443b14369309cdd4366d4ca08)
129e4bcb2SAndreas Färber /*
2*2d56be5aSPhilippe Mathieu-Daudé  * QEMU S/390 CPU QOM header (target agnostic)
329e4bcb2SAndreas Färber  *
429e4bcb2SAndreas Färber  * Copyright (c) 2012 SUSE LINUX Products GmbH
529e4bcb2SAndreas Färber  *
629e4bcb2SAndreas Färber  * This library is free software; you can redistribute it and/or
729e4bcb2SAndreas Färber  * modify it under the terms of the GNU Lesser General Public
829e4bcb2SAndreas Färber  * License as published by the Free Software Foundation; either
929e4bcb2SAndreas Färber  * version 2.1 of the License, or (at your option) any later version.
1029e4bcb2SAndreas Färber  *
1129e4bcb2SAndreas Färber  * This library is distributed in the hope that it will be useful,
1229e4bcb2SAndreas Färber  * but WITHOUT ANY WARRANTY; without even the implied warranty of
1329e4bcb2SAndreas Färber  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1429e4bcb2SAndreas Färber  * Lesser General Public License for more details.
1529e4bcb2SAndreas Färber  *
1629e4bcb2SAndreas Färber  * You should have received a copy of the GNU Lesser General Public
1729e4bcb2SAndreas Färber  * License along with this library; if not, see
1829e4bcb2SAndreas Färber  * <http://www.gnu.org/licenses/lgpl-2.1.html>
1929e4bcb2SAndreas Färber  */
2029e4bcb2SAndreas Färber #ifndef QEMU_S390_CPU_QOM_H
2129e4bcb2SAndreas Färber #define QEMU_S390_CPU_QOM_H
2229e4bcb2SAndreas Färber 
232e5b09fdSMarkus Armbruster #include "hw/core/cpu.h"
2429e4bcb2SAndreas Färber 
25e555cbe7SDavid Hildenbrand #define TYPE_S390_CPU "s390x-cpu"
2629e4bcb2SAndreas Färber 
279295b1aaSPhilippe Mathieu-Daudé OBJECT_DECLARE_CPU_TYPE(S390CPU, S390CPUClass, S390_CPU)
2829e4bcb2SAndreas Färber 
29*2d56be5aSPhilippe Mathieu-Daudé #define S390_CPU_TYPE_SUFFIX "-" TYPE_S390_CPU
30*2d56be5aSPhilippe Mathieu-Daudé #define S390_CPU_TYPE_NAME(name) (name S390_CPU_TYPE_SUFFIX)
31*2d56be5aSPhilippe Mathieu-Daudé 
3229e4bcb2SAndreas Färber #endif
33