]>
Commit | Line | Data |
---|---|---|
9fa1db4c | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
6b979de3 | 2 | /* |
a53c8fab | 3 | * Copyright IBM Corp. 2004, 2005 |
45af3af8 | 4 | * Interface implementation for communication with the z/VM control program |
6b979de3 CB |
5 | * Version 1.0 |
6 | * Author(s): Christian Borntraeger <cborntra@de.ibm.com> | |
7 | * | |
8 | * | |
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. | |
12 | * | |
13 | * The idea of this driver is based on cpint from Neale Ferguson | |
14 | */ | |
15 | ||
ef267938 HC |
16 | #ifndef _UAPI_ASM_VMCP_H |
17 | #define _UAPI_ASM_VMCP_H | |
18 | ||
6b979de3 CB |
19 | #include <linux/ioctl.h> |
20 | ||
ef267938 HC |
21 | #define VMCP_GETCODE _IOR(0x10, 1, int) |
22 | #define VMCP_SETBUF _IOW(0x10, 2, int) | |
23 | #define VMCP_GETSIZE _IOR(0x10, 3, int) | |
6b979de3 | 24 | |
ef267938 | 25 | #endif /* _UAPI_ASM_VMCP_H */ |