1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef _UAPI_LINUX_VIRTIO_CONFIG_H 8 #define _UAPI_LINUX_VIRTIO_CONFIG_H 9 #include <linux/types.h> 10 #define VIRTIO_CONFIG_S_ACKNOWLEDGE 1 11 #define VIRTIO_CONFIG_S_DRIVER 2 12 #define VIRTIO_CONFIG_S_DRIVER_OK 4 13 #define VIRTIO_CONFIG_S_FEATURES_OK 8 14 #define VIRTIO_CONFIG_S_NEEDS_RESET 0x40 15 #define VIRTIO_CONFIG_S_FAILED 0x80 16 #define VIRTIO_TRANSPORT_F_START 28 17 #define VIRTIO_TRANSPORT_F_END 42 18 #ifndef VIRTIO_CONFIG_NO_LEGACY 19 #define VIRTIO_F_NOTIFY_ON_EMPTY 24 20 #define VIRTIO_F_ANY_LAYOUT 27 21 #endif 22 #define VIRTIO_F_VERSION_1 32 23 #define VIRTIO_F_ACCESS_PLATFORM 33 24 #define VIRTIO_F_IOMMU_PLATFORM VIRTIO_F_ACCESS_PLATFORM 25 #define VIRTIO_F_RING_PACKED 34 26 #define VIRTIO_F_IN_ORDER 35 27 #define VIRTIO_F_ORDER_PLATFORM 36 28 #define VIRTIO_F_SR_IOV 37 29 #define VIRTIO_F_NOTIFICATION_DATA 38 30 #define VIRTIO_F_NOTIF_CONFIG_DATA 39 31 #define VIRTIO_F_RING_RESET 40 32 #define VIRTIO_F_ADMIN_VQ 41 33 #endif 34