blob: 223b63cf81e8c10cb706c7c70d6c422a32e6e708 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
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 Cheng655a7c02013-10-16 16:09:24 -07007#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 Cheng655a7c02013-10-16 16:09:24 -070011#define VIRTIO_CONFIG_S_DRIVER 2
12#define VIRTIO_CONFIG_S_DRIVER_OK 4
Christopher Ferris05d08e92016-02-04 13:16:38 -080013#define VIRTIO_CONFIG_S_FEATURES_OK 8
Christopher Ferris106b3a82016-08-24 12:15:38 -070014#define VIRTIO_CONFIG_S_NEEDS_RESET 0x40
Christopher Ferris106b3a82016-08-24 12:15:38 -070015#define VIRTIO_CONFIG_S_FAILED 0x80
Christopher Ferris05d08e92016-02-04 13:16:38 -080016#define VIRTIO_TRANSPORT_F_START 28
Christopher Ferris7447a1c2022-10-04 18:24:44 -070017#define VIRTIO_TRANSPORT_F_END 41
Christopher Ferris05d08e92016-02-04 13:16:38 -080018#ifndef VIRTIO_CONFIG_NO_LEGACY
Christopher Ferris106b3a82016-08-24 12:15:38 -070019#define VIRTIO_F_NOTIFY_ON_EMPTY 24
Christopher Ferris38062f92014-07-09 15:33:25 -070020#define VIRTIO_F_ANY_LAYOUT 27
Nick Kralevicha67e4de2013-01-14 11:28:26 -080021#endif
Christopher Ferris05d08e92016-02-04 13:16:38 -080022#define VIRTIO_F_VERSION_1 32
Christopher Ferris25c18d42020-10-14 17:42:58 -070023#define VIRTIO_F_ACCESS_PLATFORM 33
24#define VIRTIO_F_IOMMU_PLATFORM VIRTIO_F_ACCESS_PLATFORM
Christopher Ferrisd842e432019-03-07 10:21:59 -080025#define VIRTIO_F_RING_PACKED 34
Christopher Ferris10a76e62022-06-08 13:31:52 -070026#define VIRTIO_F_IN_ORDER 35
Christopher Ferrisd842e432019-03-07 10:21:59 -080027#define VIRTIO_F_ORDER_PLATFORM 36
Christopher Ferris9ce28842018-10-25 12:11:39 -070028#define VIRTIO_F_SR_IOV 37
Christopher Ferris37c3f3c2023-07-10 10:59:05 -070029#define VIRTIO_F_NOTIFICATION_DATA 38
Christopher Ferris7447a1c2022-10-04 18:24:44 -070030#define VIRTIO_F_RING_RESET 40
Christopher Ferris106b3a82016-08-24 12:15:38 -070031#endif