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/qdev-core.h" |
15 | |
16 | #define AP_DEVICE_TYPE "ap-device" |
17 | |
18 | typedef struct APDevice { |
19 | DeviceState parent_obj; |
20 | } APDevice; |
21 | |
22 | #define AP_DEVICE(obj) \ |
23 | OBJECT_CHECK(APDevice, (obj), AP_DEVICE_TYPE) |
24 | |
25 | #endif /* HW_S390X_AP_DEVICE_H */ |
26 | |