Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 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 | */ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 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 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 11 | #define VIRTIO_CONFIG_S_DRIVER 2 |
| 12 | #define VIRTIO_CONFIG_S_DRIVER_OK 4 |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 13 | #define VIRTIO_CONFIG_S_FEATURES_OK 8 |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 14 | #define VIRTIO_CONFIG_S_NEEDS_RESET 0x40 |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 15 | #define VIRTIO_CONFIG_S_FAILED 0x80 |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 16 | #define VIRTIO_TRANSPORT_F_START 28 |
Christopher Ferris | 7447a1c | 2022-10-04 18:24:44 -0700 | [diff] [blame] | 17 | #define VIRTIO_TRANSPORT_F_END 41 |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 18 | #ifndef VIRTIO_CONFIG_NO_LEGACY |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 19 | #define VIRTIO_F_NOTIFY_ON_EMPTY 24 |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 20 | #define VIRTIO_F_ANY_LAYOUT 27 |
Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 21 | #endif |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 22 | #define VIRTIO_F_VERSION_1 32 |
Christopher Ferris | 25c18d4 | 2020-10-14 17:42:58 -0700 | [diff] [blame] | 23 | #define VIRTIO_F_ACCESS_PLATFORM 33 |
| 24 | #define VIRTIO_F_IOMMU_PLATFORM VIRTIO_F_ACCESS_PLATFORM |
Christopher Ferris | d842e43 | 2019-03-07 10:21:59 -0800 | [diff] [blame] | 25 | #define VIRTIO_F_RING_PACKED 34 |
Christopher Ferris | 10a76e6 | 2022-06-08 13:31:52 -0700 | [diff] [blame] | 26 | #define VIRTIO_F_IN_ORDER 35 |
Christopher Ferris | d842e43 | 2019-03-07 10:21:59 -0800 | [diff] [blame] | 27 | #define VIRTIO_F_ORDER_PLATFORM 36 |
Christopher Ferris | 9ce2884 | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 28 | #define VIRTIO_F_SR_IOV 37 |
Christopher Ferris | 37c3f3c | 2023-07-10 10:59:05 -0700 | [diff] [blame] | 29 | #define VIRTIO_F_NOTIFICATION_DATA 38 |
Christopher Ferris | 7447a1c | 2022-10-04 18:24:44 -0700 | [diff] [blame] | 30 | #define VIRTIO_F_RING_RESET 40 |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 31 | #endif |