s390x/ap: base Adjunct Processor (AP) object model
[qemu.git] / include / hw / s390x / ap-device.h
blob765e9082a3dbe5775238824d5d68df865475906c
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 */
10 #ifndef HW_S390X_AP_DEVICE_H
11 #define HW_S390X_AP_DEVICE_H
13 #define AP_DEVICE_TYPE "ap-device"
15 typedef struct APDevice {
16 DeviceState parent_obj;
17 } APDevice;
19 #define AP_DEVICE(obj) \
20 OBJECT_CHECK(APDevice, (obj), AP_DEVICE_TYPE)
22 #endif /* HW_S390X_AP_DEVICE_H */