xref: /openbmc/linux/arch/s390/include/uapi/asm/hypfs.h (revision b34e08d5)
1 /*
2  * IOCTL interface for hypfs
3  *
4  * Copyright IBM Corp. 2013
5  *
6  * Author: Martin Schwidefsky <schwidefsky@de.ibm.com>
7  */
8 
9 #ifndef _ASM_HYPFS_CTL_H
10 #define _ASM_HYPFS_CTL_H
11 
12 #include <linux/types.h>
13 
14 struct hypfs_diag304 {
15 	__u32	args[2];
16 	__u64	data;
17 	__u64	rc;
18 } __attribute__((packed));
19 
20 #define HYPFS_IOCTL_MAGIC 0x10
21 
22 #define HYPFS_DIAG304 \
23 	_IOWR(HYPFS_IOCTL_MAGIC, 0x20, struct hypfs_diag304)
24 
25 #endif
26