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