diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-28 19:04:13 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-28 19:04:13 +0000 |
commit | 1387fe4a95cc9e7b7fd997b7c676161bfac05c41 (patch) | |
tree | ad4e9074de4011deb6a09c6651ebbbf23314e859 /hw | |
parent | bdae2298d1c2127b6967ef9fddd736c72ff39a42 (diff) | |
download | hqemu-1387fe4a95cc9e7b7fd997b7c676161bfac05c41.zip hqemu-1387fe4a95cc9e7b7fd997b7c676161bfac05c41.tar.gz |
Fix Sparc64 breakage: add dummy ISA irqs
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/sun4u.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |