qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 09/14] mips_r4k: initialize i8259 after the ISA bus


From: Avi Kivity
Subject: [Qemu-devel] [PATCH 09/14] mips_r4k: initialize i8259 after the ISA bus
Date: Sun, 25 Sep 2011 15:50:44 +0300

Succeeding i8259 conversion to ISA requires this.

Signed-off-by: Avi Kivity <address@hidden>
---
 hw/mips_r4k.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index a7dc487..d0564d4 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);
-- 
1.7.6.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]