| 1 | /* |
| 2 | * Adjunct Processor (AP) matrix device interfaces |
| 3 | * |
| 4 | * Copyright 2018 IBM Corp. |
| 5 | * |
| 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 | |
| 11 | #ifndef HW_S390X_AP_DEVICE_H |
| 12 | #define HW_S390X_AP_DEVICE_H |
| 13 | |
| 14 | #include "hw/core/qdev.h" |
| 15 | #include "qom/object.h" |
| 16 | |
| 17 | #define TYPE_AP_DEVICE "ap-device" |
| 18 | |
| 19 | struct APDevice { |
| 20 | DeviceState parent_obj; |
| 21 | }; |
| 22 | typedef struct APDevice APDevice; |
| 23 | |
| 24 | DECLARE_INSTANCE_CHECKER(APDevice, AP_DEVICE, |
| 25 | TYPE_AP_DEVICE) |
| 26 | |
| 27 | #endif /* HW_S390X_AP_DEVICE_H */ |