[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-commits
Subject:    [Qemu-commits] [COMMIT 1387fe4] Fix Sparc64 breakage: add dummy ISA irqs
From:       Anthony Liguori <aliguori () us ! ibm ! com>
Date:       2009-08-28 19:17:39
Message-ID: 200908281917.n7SJHbIf026948 () d03av02 ! boulder ! ibm ! com
[Download RAW message or body]

From: Blue Swirl <blauwirbel@gmail.com>

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

diff --git a/hw/sun4u.c b/hw/sun4u.c
index 012a76a..ece83e6 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -352,11 +352,19 @@ static void ebus_mmio_mapfunc(PCIDevice *pci_dev, int region_num,
     }
 }
 
+static void dummy_isa_irq_handler(void *opaque, int n, int level)
+{
+}
+
 /* EBUS (Eight bit bus) bridge */
 static void
 pci_ebus_init(PCIBus *bus, int devfn)
 {
+    qemu_irq *isa_irq;
+
     pci_create_simple(bus, devfn, "ebus");
+    isa_irq = qemu_allocate_irqs(dummy_isa_irq_handler, NULL, 16);
+    isa_bus_irqs(isa_irq);
 }
 
 static int



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic