vfio_ccw.h 489 B

1234567891011121314151617181920212223242526
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /*
  3. * Interfaces for vfio-ccw
  4. *
  5. * Copyright IBM Corp. 2017
  6. *
  7. * Author(s): Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
  8. */
  9. #ifndef _VFIO_CCW_H_
  10. #define _VFIO_CCW_H_
  11. #include <linux/types.h>
  12. struct ccw_io_region {
  13. #define ORB_AREA_SIZE 12
  14. __u8 orb_area[ORB_AREA_SIZE];
  15. #define SCSW_AREA_SIZE 12
  16. __u8 scsw_area[SCSW_AREA_SIZE];
  17. #define IRB_AREA_SIZE 96
  18. __u8 irb_area[IRB_AREA_SIZE];
  19. __u32 ret_code;
  20. } __packed;
  21. #endif