Go to the documentation of this file.
33 #ifndef __LINUX_PUBLIC_PRIVCMD_H__
34 #define __LINUX_PUBLIC_PRIVCMD_H__
36 #include <linux/types.h>
37 #include <linux/compiler.h>
65 #define PRIVCMD_MMAPBATCH_MFN_ERROR 0xf0000000U
66 #define PRIVCMD_MMAPBATCH_PAGED_ERROR 0x80000000U
89 #define IOCTL_PRIVCMD_HYPERCALL \
90 _IOC(_IOC_NONE, 'P', 0, sizeof(struct privcmd_hypercall))
91 #define IOCTL_PRIVCMD_MMAP \
92 _IOC(_IOC_NONE, 'P', 2, sizeof(struct privcmd_mmap))
93 #define IOCTL_PRIVCMD_MMAPBATCH \
94 _IOC(_IOC_NONE, 'P', 3, sizeof(struct privcmd_mmapbatch))
95 #define IOCTL_PRIVCMD_MMAPBATCH_V2 \
96 _IOC(_IOC_NONE, 'P', 4, sizeof(struct privcmd_mmapbatch_v2))