qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [IGDVFIO] [PATCH 6/8] RFC and help completing: Intel IGD Di


From: Andrew Barnes
Subject: [Qemu-devel] [IGDVFIO] [PATCH 6/8] RFC and help completing: Intel IGD Direct Assignment with VFIO
Date: Wed, 24 Sep 2014 14:20:33 +0100

include/hw/pci/pci.h

patch
---------------------

diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h
index c352c7b..d3bc224 100644
--- a/include/hw/pci/pci.h
+++ b/include/hw/pci/pci.h
@@ -338,6 +338,9 @@ typedef PCIINTxRoute (*pci_route_irq_fn)(void *opaque, int pin);
 #define PCI_BUS(obj) OBJECT_CHECK(PCIBus, (obj), TYPE_PCI_BUS)
 #define TYPE_PCIE_BUS "PCIE"
 
+uint32_t host_pci_read_config(int bus, int slot, int fn, uint32_t address, int len);
+void host_pci_write_config(int bus, int slot, int fn, uint32_t address, int len, uint32_t val);
+
 bool pci_bus_is_express(PCIBus *bus);
 bool pci_bus_is_root(PCIBus *bus);
 void pci_bus_new_inplace(PCIBus *bus, size_t bus_size, DeviceState *parent,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]