hw/sd/pl181: Replace fprintf(stderr, "*\n") with error_report()
[qemu/ar7.git] / include / hw / s390x / ap-device.h
blob8df9cd29542f290a50f2a68622c96a73b3ed3008
1 /*
2 * Adjunct Processor (AP) matrix device interfaces
4 * Copyright 2018 IBM Corp.
6 * This work is licensed under the terms of the GNU GPL, version 2 or (at
7 * your option) any later version. See the COPYING file in the top-level
8 * directory.
9 */
11 #ifndef HW_S390X_AP_DEVICE_H
12 #define HW_S390X_AP_DEVICE_H
14 #include "hw/qdev-core.h"
16 #define AP_DEVICE_TYPE "ap-device"
18 typedef struct APDevice {
19 DeviceState parent_obj;
20 } APDevice;
22 #define AP_DEVICE(obj) \
23 OBJECT_CHECK(APDevice, (obj), AP_DEVICE_TYPE)
25 #endif /* HW_S390X_AP_DEVICE_H */