blob: 2ec5f367ff78fe6e1c8adfb64790b6202c355f5e [file] [log] [blame]
Christopher Ferris25981132017-11-14 16:53:49 -08001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Christopher Ferris0543f742017-07-26 13:09:46 -07002/*
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
10#ifndef _VFIO_CCW_H_
11#define _VFIO_CCW_H_
12
13#include <linux/types.h>
14
15struct ccw_io_region {
16#define ORB_AREA_SIZE 12
17 __u8 orb_area[ORB_AREA_SIZE];
18#define SCSW_AREA_SIZE 12
19 __u8 scsw_area[SCSW_AREA_SIZE];
20#define IRB_AREA_SIZE 96
21 __u8 irb_area[IRB_AREA_SIZE];
22 __u32 ret_code;
23} __packed;
24
25#endif