diff options
Diffstat (limited to 'libc/kernel/uapi/xen/privcmd.h')
-rw-r--r-- | libc/kernel/uapi/xen/privcmd.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/libc/kernel/uapi/xen/privcmd.h b/libc/kernel/uapi/xen/privcmd.h index ee20544..10c0c47 100644 --- a/libc/kernel/uapi/xen/privcmd.h +++ b/libc/kernel/uapi/xen/privcmd.h @@ -23,44 +23,44 @@ /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #include <xen/interface/xen.h> struct privcmd_hypercall { - __u64 op; - __u64 arg[5]; + __u64 op; + __u64 arg[5]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; struct privcmd_mmap_entry { - __u64 va; - __u64 mfn; + __u64 va; + __u64 mfn; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __u64 npages; + __u64 npages; }; struct privcmd_mmap { - int num; + int num; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - domid_t dom; - struct privcmd_mmap_entry __user *entry; + domid_t dom; + struct privcmd_mmap_entry __user * entry; }; struct privcmd_mmapbatch { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int num; - domid_t dom; - __u64 addr; - xen_pfn_t __user *arr; + int num; + domid_t dom; + __u64 addr; + xen_pfn_t __user * arr; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; #define PRIVCMD_MMAPBATCH_MFN_ERROR 0xf0000000U #define PRIVCMD_MMAPBATCH_PAGED_ERROR 0x80000000U struct privcmd_mmapbatch_v2 { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int num; - domid_t dom; - __u64 addr; - const xen_pfn_t __user *arr; + unsigned int num; + domid_t dom; + __u64 addr; + const xen_pfn_t __user * arr; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int __user *err; + int __user * err; }; -#define IOCTL_PRIVCMD_HYPERCALL _IOC(_IOC_NONE, 'P', 0, sizeof(struct privcmd_hypercall)) -#define IOCTL_PRIVCMD_MMAP _IOC(_IOC_NONE, 'P', 2, sizeof(struct privcmd_mmap)) +#define IOCTL_PRIVCMD_HYPERCALL _IOC(_IOC_NONE, 'P', 0, sizeof(struct privcmd_hypercall)) +#define IOCTL_PRIVCMD_MMAP _IOC(_IOC_NONE, 'P', 2, sizeof(struct privcmd_mmap)) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IOCTL_PRIVCMD_MMAPBATCH _IOC(_IOC_NONE, 'P', 3, sizeof(struct privcmd_mmapbatch)) -#define IOCTL_PRIVCMD_MMAPBATCH_V2 _IOC(_IOC_NONE, 'P', 4, sizeof(struct privcmd_mmapbatch_v2)) +#define IOCTL_PRIVCMD_MMAPBATCH _IOC(_IOC_NONE, 'P', 3, sizeof(struct privcmd_mmapbatch)) +#define IOCTL_PRIVCMD_MMAPBATCH_V2 _IOC(_IOC_NONE, 'P', 4, sizeof(struct privcmd_mmapbatch_v2)) #endif |