diff options
| author | Cornelia Huck | 2017-05-18 13:47:27 +0200 |
|---|---|---|
| committer | Cornelia Huck | 2017-05-19 12:29:01 +0200 |
| commit | 74c98e20a604b9db58284b8727688df70e9bf643 (patch) | |
| tree | 76ffd85c3c521dcdfd352382c95bbabf6e5a6574 /linux-headers/linux/vfio_ccw.h | |
| parent | pc-bios/s390-ccw.img: rebuild image (diff) | |
| download | qemu-74c98e20a604b9db58284b8727688df70e9bf643.tar.gz qemu-74c98e20a604b9db58284b8727688df70e9bf643.tar.xz qemu-74c98e20a604b9db58284b8727688df70e9bf643.zip | |
linux-headers: update
Update against Linux v4.12-rc1.
Also include the new vfio_ccw.h header.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'linux-headers/linux/vfio_ccw.h')
| -rw-r--r-- | linux-headers/linux/vfio_ccw.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/linux-headers/linux/vfio_ccw.h b/linux-headers/linux/vfio_ccw.h new file mode 100644 index 0000000000..3a565511ab --- /dev/null +++ b/linux-headers/linux/vfio_ccw.h @@ -0,0 +1,24 @@ +/* + * Interfaces for vfio-ccw + * + * Copyright IBM Corp. 2017 + * + * Author(s): Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> + */ + +#ifndef _VFIO_CCW_H_ +#define _VFIO_CCW_H_ + +#include <linux/types.h> + +struct ccw_io_region { +#define ORB_AREA_SIZE 12 + __u8 orb_area[ORB_AREA_SIZE]; +#define SCSW_AREA_SIZE 12 + __u8 scsw_area[SCSW_AREA_SIZE]; +#define IRB_AREA_SIZE 96 + __u8 irb_area[IRB_AREA_SIZE]; + __u32 ret_code; +} __attribute__((packed)); + +#endif |
