mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
grackle: general tidy-up and QOMify
This is the first step towards removing the old-style pci_grackle_init() function. Following on from the previous commit we can now pass the heathrow device as an object link and wire up the heathrow IRQs via qdev GPIOs. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
a5ed75fe2e
commit
b0318ec10b
3 changed files with 67 additions and 39 deletions
|
@ -79,7 +79,7 @@ void macio_init(PCIDevice *dev,
|
|||
|
||||
/* Grackle PCI */
|
||||
#define TYPE_GRACKLE_PCI_HOST_BRIDGE "grackle-pcihost"
|
||||
PCIBus *pci_grackle_init(uint32_t base, qemu_irq *pic,
|
||||
PCIBus *pci_grackle_init(uint32_t base, DeviceState *pic_dev,
|
||||
MemoryRegion *address_space_mem,
|
||||
MemoryRegion *address_space_io);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue