182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/****************************************************************************
282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************
382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   This header was automatically generated from a Linux kernel header
582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   of the same name, to make information necessary for userspace to
682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   call into the kernel available to libc.  It contains only constants,
782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   structures, and macros generated from the original header, and thus,
882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   contains no copyrightable information.
982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   To edit the content of this header, modify the corresponding
1182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   source file (e.g. under external/kernel-headers/original/) then
1282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   run bionic/libc/kernel/tools/update_all.py
1382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   Any manual change here will be lost the next time this script will
1582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   be run. You've been warned!
1682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************
1882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************/
19525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#ifndef _VFIO_CCW_H_
20525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#define _VFIO_CCW_H_
2182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#include <linux/types.h>
22525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferrisstruct ccw_io_region {
23525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#define ORB_AREA_SIZE 12
24525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __u8 orb_area[ORB_AREA_SIZE];
25525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#define SCSW_AREA_SIZE 12
26525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __u8 scsw_area[SCSW_AREA_SIZE];
27525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#define IRB_AREA_SIZE 96
28525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __u8 irb_area[IRB_AREA_SIZE];
29525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __u32 ret_code;
30525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris} __packed;
3182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#endif
32