mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
pci: pass I/O address space to new PCI bus
This lets us register BARs in the I/O address space. Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
309cb471c8
commit
aee97b840f
20 changed files with 91 additions and 38 deletions
|
@ -112,7 +112,7 @@ static int pci_vpb_init(SysBusDevice *dev)
|
|||
}
|
||||
bus = pci_register_bus(&dev->qdev, "pci",
|
||||
pci_vpb_set_irq, pci_vpb_map_irq, s->irq,
|
||||
get_system_memory(),
|
||||
get_system_memory(), get_system_io(),
|
||||
PCI_DEVFN(11, 0), 4);
|
||||
|
||||
/* ??? Register memory space. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue