ap-device.h 612 B

123456789101112131415161718192021222324252627
  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. #ifndef HW_S390X_AP_DEVICE_H
  11. #define HW_S390X_AP_DEVICE_H
  12. #include "hw/qdev-core.h"
  13. #include "qom/object.h"
  14. #define TYPE_AP_DEVICE "ap-device"
  15. struct APDevice {
  16. DeviceState parent_obj;
  17. };
  18. typedef struct APDevice APDevice;
  19. DECLARE_INSTANCE_CHECKER(APDevice, AP_DEVICE,
  20. TYPE_AP_DEVICE)
  21. #endif /* HW_S390X_AP_DEVICE_H */