Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * Copyright IBM Corp. 2004, 2005
0004  * Interface implementation for communication with the z/VM control program
0005  * Version 1.0
0006  * Author(s): Christian Borntraeger <cborntra@de.ibm.com>
0007  *
0008  *
0009  * z/VMs CP offers the possibility to issue commands via the diagnose code 8
0010  * this driver implements a character device that issues these commands and
0011  * returns the answer of CP.
0012  *
0013  * The idea of this driver is based on cpint from Neale Ferguson
0014  */
0015 
0016 #ifndef _UAPI_ASM_VMCP_H
0017 #define _UAPI_ASM_VMCP_H
0018 
0019 #include <linux/ioctl.h>
0020 
0021 #define VMCP_GETCODE    _IOR(0x10, 1, int)
0022 #define VMCP_SETBUF _IOW(0x10, 2, int)
0023 #define VMCP_GETSIZE    _IOR(0x10, 3, int)
0024 
0025 #endif /* _UAPI_ASM_VMCP_H */