| /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
| * Interfaces for vfio-ccw |
| * Copyright IBM Corp. 2017 |
| * Author(s): Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> |
| /* used for START SUBCHANNEL, always present */ |
| __u8 orb_area[ORB_AREA_SIZE]; |
| #define SCSW_AREA_SIZE 12 |
| __u8 scsw_area[SCSW_AREA_SIZE]; |
| __u8 irb_area[IRB_AREA_SIZE]; |
| } __attribute__((packed)); |
| * used for processing commands that trigger asynchronous actions |
| * Note: this is controlled by a capability |
| #define VFIO_CCW_ASYNC_CMD_HSCH (1 << 0) |
| #define VFIO_CCW_ASYNC_CMD_CSCH (1 << 1) |
| } __attribute__((packed)); |