diff options
author | Tao Bao <tbao@google.com> | 2015-01-28 10:07:51 -0800 |
---|---|---|
committer | Tao Bao <tbao@google.com> | 2015-02-06 14:48:41 -0800 |
commit | d7db594b8d1dab36b711bd887a9dd21675c87243 (patch) | |
tree | 214b4e6e4510386ffc05c9a43dd3c153c6cf89a0 /libc/kernel/uapi/xen/privcmd.h | |
parent | 11829be3e1a9e9e2271ba64a78c327bde6e044eb (diff) | |
download | bionic-d7db594b8d1dab36b711bd887a9dd21675c87243.zip bionic-d7db594b8d1dab36b711bd887a9dd21675c87243.tar.gz bionic-d7db594b8d1dab36b711bd887a9dd21675c87243.tar.bz2 |
Switch kernel header parsing to python libclang
Replace the tokenizer in cpp.py with libclang.
Bug: 18937958
Change-Id: I27630904c6d2849418cd5ca3d3c612ec3078686d
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 |