1 /* SPDX-License-Identifier: BSD-3-Clause */
6 * From Linux kernel include/uapi/linux/virtio_types.h
9 #ifndef _LINUX_VIRTIO_TYPES_H
10 #define _LINUX_VIRTIO_TYPES_H
12 #include <linux/types.h>
15 * __virtio{16,32,64} have the following meaning:
16 * - __u{16,32,64} for virtio devices in legacy mode, accessed in native endian
17 * - __le{16,32,64} for standard-compliant virtio devices
20 typedef __u16 __bitwise __virtio16;
21 typedef __u32 __bitwise __virtio32;
22 typedef __u64 __bitwise __virtio64;
24 #endif /* _LINUX_VIRTIO_TYPES_H */