diff options
Diffstat (limited to 'hw/apb_pci.c')
-rw-r--r-- | hw/apb_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/apb_pci.c b/hw/apb_pci.c index a5fe9b9..627fd9b 100644 --- a/hw/apb_pci.c +++ b/hw/apb_pci.c @@ -200,14 +200,14 @@ static int pci_pbm_map_irq(PCIDevice *pci_dev, int irq_num) return bus_offset + irq_num; } -static void pci_apb_set_irq(void *pic, int irq_num, int level) +static void pci_apb_set_irq(qemu_irq *pic, int irq_num, int level) { /* PCI IRQ map onto the first 32 INO. */ - pic_set_irq_new(pic, irq_num, level); + qemu_set_irq(pic[irq_num], level); } PCIBus *pci_apb_init(target_ulong special_base, target_ulong mem_base, - void *pic) + qemu_irq *pic) { APBState *s; PCIDevice *d; |