blob: 047862fd95f505a74a91910021a6c9b9d7918ae8 [file] [log] [blame]
Christopher Ferris82d75042015-01-26 10:57:07 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
Christopher Ferris525ce912017-07-26 13:12:53 -070019#ifndef _VFIO_CCW_H_
20#define _VFIO_CCW_H_
Christopher Ferris82d75042015-01-26 10:57:07 -080021#include <linux/types.h>
Christopher Ferris525ce912017-07-26 13:12:53 -070022struct ccw_io_region {
23#define ORB_AREA_SIZE 12
24 __u8 orb_area[ORB_AREA_SIZE];
25#define SCSW_AREA_SIZE 12
26 __u8 scsw_area[SCSW_AREA_SIZE];
27#define IRB_AREA_SIZE 96
28 __u8 irb_area[IRB_AREA_SIZE];
29 __u32 ret_code;
30} __packed;
Christopher Ferris82d75042015-01-26 10:57:07 -080031#endif