Christopher Ferris | 2598113 | 2017-11-14 16:53:49 -0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Christopher Ferris | 0543f74 | 2017-07-26 13:09:46 -0700 | [diff] [blame] | 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 | |
| 15 | struct 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 |