From d537cf6c8624b27ce2b63431d2f8937f6356f652 Mon Sep 17 00:00:00 2001 From: pbrook Date: Sat, 7 Apr 2007 18:14:41 +0000 Subject: Unify IRQ handling. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2635 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/grackle_pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hw/grackle_pci.c') diff --git a/hw/grackle_pci.c b/hw/grackle_pci.c index 4004f9942f..74d4efccc7 100644 --- a/hw/grackle_pci.c +++ b/hw/grackle_pci.c @@ -80,12 +80,12 @@ 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(void *pic, int irq_num, int level) +static void pci_grackle_set_irq(qemu_irq *pic, int irq_num, int level) { - heathrow_pic_set_irq(pic, irq_num + 8, level); + qemu_set_irq(pic[irq_num + 8], level); } -PCIBus *pci_grackle_init(uint32_t base, void *pic) +PCIBus *pci_grackle_init(uint32_t base, qemu_irq *pic) { GrackleState *s; PCIDevice *d; -- cgit v1.2.3