blob: 34a7f6f9e0658e7d3e33573df227eb2ba04a5194 [file] [log] [blame]
Dong Jia Shi060d2b52017-03-17 04:17:34 +01001/*
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
14struct 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} __packed;
23
24#endif