]> git.proxmox.com Git - mirror_qemu.git/blame - linux-headers/linux/vfio_ccw.h
Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20181012' into staging
[mirror_qemu.git] / linux-headers / linux / vfio_ccw.h
CommitLineData
dd873966 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
74c98e20
CH
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
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} __attribute__((packed));
24
25#endif