qemu/include/hw/s390x/ap-device.h
<<
>>
Prefs
   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
  13#define AP_DEVICE_TYPE       "ap-device"
  14
  15typedef struct APDevice {
  16    DeviceState parent_obj;
  17} APDevice;
  18
  19#define AP_DEVICE(obj) \
  20    OBJECT_CHECK(APDevice, (obj), AP_DEVICE_TYPE)
  21
  22#endif /* HW_S390X_AP_DEVICE_H */
  23