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
|
@ -348,6 +348,7 @@ PCIBus *pci_apb_init(target_phys_addr_t special_base,
|
|||
d->bus = pci_register_bus(&d->busdev.qdev, "pci",
|
||||
pci_apb_set_irq, pci_pbm_map_irq, d,
|
||||
get_system_memory(),
|
||||
get_system_io(),
|
||||
0, 32);
|
||||
pci_bus_set_mem_base(d->bus, mem_base);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue