xref: /qemu/linux-headers/linux/vfio_ccw.h (revision 6402cbbb)
1 /*
2  * Interfaces for vfio-ccw
3  *
4  * Copyright IBM Corp. 2017
5  *
6  * Author(s): Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
7  */
8 
9 #ifndef _VFIO_CCW_H_
10 #define _VFIO_CCW_H_
11 
12 #include <linux/types.h>
13 
14 struct ccw_io_region {
15 #define ORB_AREA_SIZE 12
16 	__u8	orb_area[ORB_AREA_SIZE];
17 #define SCSW_AREA_SIZE 12
18 	__u8	scsw_area[SCSW_AREA_SIZE];
19 #define IRB_AREA_SIZE 96
20 	__u8	irb_area[IRB_AREA_SIZE];
21 	__u32	ret_code;
22 } __attribute__((packed));
23 
24 #endif
25