mirror of https://github.com/xemu-project/xemu.git
mips_r4k: initialize i8259 after the ISA bus
Succeeding i8259 conversion to ISA requires this. Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
e155c99be9
commit
a4ac5e64de
|
@ -256,8 +256,8 @@ void mips_r4k_init (ram_addr_t ram_size,
|
||||||
cpu_mips_clock_init(env);
|
cpu_mips_clock_init(env);
|
||||||
|
|
||||||
/* The PIC is attached to the MIPS CPU INT0 pin */
|
/* The PIC is attached to the MIPS CPU INT0 pin */
|
||||||
i8259 = i8259_init(env->irq[2]);
|
|
||||||
isa_bus_new(NULL, get_system_io());
|
isa_bus_new(NULL, get_system_io());
|
||||||
|
i8259 = i8259_init(env->irq[2]);
|
||||||
isa_bus_irqs(i8259);
|
isa_bus_irqs(i8259);
|
||||||
|
|
||||||
rtc_init(2000, NULL);
|
rtc_init(2000, NULL);
|
||||||
|
|
Loading…
Reference in New Issue