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