1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright IBM Corp. 2004, 2005
4 * Interface implementation for communication with the z/VM control program
6 * Author(s): Christian Borntraeger <cborntra@de.ibm.com>
9 * z/VMs CP offers the possibility to issue commands via the diagnose code 8
10 * this driver implements a character device that issues these commands and
11 * returns the answer of CP.
13 * The idea of this driver is based on cpint from Neale Ferguson
16 #ifndef _UAPI_ASM_VMCP_H
17 #define _UAPI_ASM_VMCP_H
19 #include <linux/ioctl.h>
21 #define VMCP_GETCODE _IOR(0x10, 1, int)
22 #define VMCP_SETBUF _IOW(0x10, 2, int)
23 #define VMCP_GETSIZE _IOR(0x10, 3, int)
25 #endif /* _UAPI_ASM_VMCP_H */