Message ID | CAKJ_wKTs8E6_qAcaLfJzm5upQc4hAA+HMRmnUZwE4skd3ARWUQ@mail.gmail.com |
---|---|
State | New |
Headers | show |
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); +