diff options
Diffstat (limited to 'hw/grackle_pci.c')
-rw-r--r-- | hw/grackle_pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/grackle_pci.c b/hw/grackle_pci.c index 38e2fe4869..177c88877a 100644 --- a/hw/grackle_pci.c +++ b/hw/grackle_pci.c @@ -102,8 +102,10 @@ static int pci_grackle_map_irq(PCIDevice *pci_dev, int irq_num) return (irq_num + (pci_dev->devfn >> 3)) & 3; } -static void pci_grackle_set_irq(qemu_irq *pic, int irq_num, int level) +static void pci_grackle_set_irq(void *opaque, int irq_num, int level) { + qemu_irq *pic = opaque; + GRACKLE_DPRINTF("set_irq num %d level %d\n", irq_num, level); qemu_set_irq(pic[irq_num + 0x15], level); } |