提交 1387fe4a 编写于 作者: B Blue Swirl

Fix Sparc64 breakage: add dummy ISA irqs

Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 bdae2298
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册