diff options
Diffstat (limited to 'kernel/virtio.h')
-rw-r--r-- | kernel/virtio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/virtio.h b/kernel/virtio.h index 3d85583..96272b4 100644 --- a/kernel/virtio.h +++ b/kernel/virtio.h @@ -10,7 +10,7 @@ // virtio mmio control registers, mapped starting at 0x10001000. // from qemu virtio_mmio.h #define VIRTIO_MMIO_MAGIC_VALUE 0x000 // 0x74726976 -#define VIRTIO_MMIO_VERSION 0x004 // version; 1 is legacy +#define VIRTIO_MMIO_VERSION 0x004 // version; should be 2 #define VIRTIO_MMIO_DEVICE_ID 0x008 // device type; 1 is net, 2 is disk #define VIRTIO_MMIO_VENDOR_ID 0x00c // 0x554d4551 #define VIRTIO_MMIO_DEVICE_FEATURES 0x010 |