aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Tam <roytam@gmail.com>2009-10-15 22:07:12 +0800
committerAurelien Jarno <aurelien@aurel32.net>2009-10-15 19:49:11 +0200
commit5041fccd8ebed677f4d3012011657f8cc2340ea4 (patch)
tree9ae3975b4f7e36b9667cd3412367215270748927
parentbf854d65a5db2380ef2f0e8014f79a405c523b94 (diff)
downloadqemu-5041fccd8ebed677f4d3012011657f8cc2340ea4.zip
qemu-5041fccd8ebed677f4d3012011657f8cc2340ea4.tar.gz
qemu-5041fccd8ebed677f4d3012011657f8cc2340ea4.tar.bz2
MIPS jazz: create isa bus
As i8259 in mips_jazz.c is not correctly connected to the isa bus, the mc146818rtc isa devices fails to be created. Signed-off-by: Roy Tam <roytam@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r--hw/mips_jazz.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c
index 3ff367d..281713c 100644
--- a/hw/mips_jazz.c
+++ b/hw/mips_jazz.c
@@ -185,6 +185,8 @@ void mips_jazz_init (ram_addr_t ram_size,
/* ISA devices */
i8259 = i8259_init(env->irq[4]);
+ isa_bus_new(NULL);
+ isa_bus_irqs(i8259);
DMA_init(0);
pit = pit_init(0x40, i8259[0]);
pcspk_init(pit);