feat: start setup virtio
This commit is contained in:
18
include/myke/drivers/pci/virtio.h
Normal file
18
include/myke/drivers/pci/virtio.h
Normal file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// Created by rick on 14-5-22.
|
||||
//
|
||||
|
||||
#ifndef NEW_KERNEL_VIRTIO_H
|
||||
#define NEW_KERNEL_VIRTIO_H
|
||||
|
||||
#define PCI_VENDOR_VIRTIO 0x1af4
|
||||
|
||||
#define PCI_DEVICE_VIRTIO_NETWORK 0x1000
|
||||
#define PCI_DEVICE_VIRTIO_BLOCK 0x1001
|
||||
#define PCI_DEVICE_VIRTIO_BALLOON 0x1002
|
||||
#define PCI_DEVICE_VIRTIO_CONSOLE 0x1003
|
||||
#define PCI_DEVICE_VIRTIO_SCSI 0x1004
|
||||
#define PCI_DEVICE_VIRTIO_ENTROPY 0x1005
|
||||
#define PCI_DEVICE_VIRTIO_9P 0x1009
|
||||
|
||||
#endif //NEW_KERNEL_VIRTIO_H
|
||||
Reference in New Issue
Block a user