mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -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
11
hw/ppc_mac.h
11
hw/ppc_mac.h
|
@ -55,11 +55,16 @@ qemu_irq *heathrow_pic_init(int *pmem_index,
|
|||
|
||||
/* Grackle PCI */
|
||||
PCIBus *pci_grackle_init(uint32_t base, qemu_irq *pic,
|
||||
MemoryRegion *address_space);
|
||||
MemoryRegion *address_space_mem,
|
||||
MemoryRegion *address_space_io);
|
||||
|
||||
/* UniNorth PCI */
|
||||
PCIBus *pci_pmac_init(qemu_irq *pic, MemoryRegion *address_space);
|
||||
PCIBus *pci_pmac_u3_init(qemu_irq *pic, MemoryRegion *address_space);
|
||||
PCIBus *pci_pmac_init(qemu_irq *pic,
|
||||
MemoryRegion *address_space_mem,
|
||||
MemoryRegion *address_space_io);
|
||||
PCIBus *pci_pmac_u3_init(qemu_irq *pic,
|
||||
MemoryRegion *address_space_mem,
|
||||
MemoryRegion *address_space_io);
|
||||
|
||||
/* Mac NVRAM */
|
||||
typedef struct MacIONVRAMState MacIONVRAMState;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue