summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-09-18 16:13:38 +0300
committerAvi Kivity <avi@redhat.com>2011-09-25 14:58:37 +0300
commita4ac5e64de1b676e0b377792528580065a574815 (patch)
tree9f7af71dcad6551d73d008e8c16e9c19b41e8b9d /hw
parente155c99be9439f1fdf245b0b05251f2e225cde62 (diff)
downloadqemu-a4ac5e64de1b676e0b377792528580065a574815.tar.gz
qemu-a4ac5e64de1b676e0b377792528580065a574815.tar.bz2
qemu-a4ac5e64de1b676e0b377792528580065a574815.zip
mips_r4k: initialize i8259 after the ISA bus
Succeeding i8259 conversion to ISA requires this. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/mips_r4k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index a7dc48753a..d0564d4449 100644
--- a/hw/mips_r4k.c
+++ b/hw/mips_r4k.c
@@ -256,8 +256,8 @@ void mips_r4k_init (ram_addr_t ram_size,
cpu_mips_clock_init(env);
/* The PIC is attached to the MIPS CPU INT0 pin */
- i8259 = i8259_init(env->irq[2]);
isa_bus_new(NULL, get_system_io());
+ i8259 = i8259_init(env->irq[2]);
isa_bus_irqs(i8259);
rtc_init(2000, NULL);