vmcp.h 737 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /*
  3. * Copyright IBM Corp. 2004, 2005
  4. * Interface implementation for communication with the z/VM control program
  5. * Version 1.0
  6. * Author(s): Christian Borntraeger <[email protected]>
  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. #ifndef _UAPI_ASM_VMCP_H
  16. #define _UAPI_ASM_VMCP_H
  17. #include <linux/ioctl.h>
  18. #define VMCP_GETCODE _IOR(0x10, 1, int)
  19. #define VMCP_SETBUF _IOW(0x10, 2, int)
  20. #define VMCP_GETSIZE _IOR(0x10, 3, int)
  21. #endif /* _UAPI_ASM_VMCP_H */