X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fvirtio-pci.c;h=4b9ad0acb8324eed31e2e52edee036de257a4f21;hb=139d5ac037de828f89c36e39c6dd15610650cede;hp=7e0c1a52d5b9ce696e4dddb3b68c8f42d7b95a9f;hpb=e1a17bbb0ee4fb11526e46f5aecf8b7ebaafdca4;p=seabios.git diff --git a/src/virtio-pci.c b/src/virtio-pci.c index 7e0c1a5..4b9ad0a 100644 --- a/src/virtio-pci.c +++ b/src/virtio-pci.c @@ -19,6 +19,8 @@ #include "virtio-pci.h" #include "config.h" // CONFIG_DEBUG_LEVEL #include "util.h" // dprintf +#include "pci.h" // pci_config_readl +#include "pci_regs.h" // PCI_BASE_ADDRESS_0 int vp_find_vq(unsigned int ioaddr, int queue_index, struct vring_virtqueue **p_vq)