aboutsummaryrefslogtreecommitdiff
path: root/hw/mips_jazz.c
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:36 +0300
commite155c99be9439f1fdf245b0b05251f2e225cde62 (patch)
treeb7646b28da2a7685f443018fc8d6148c5d7181e1 /hw/mips_jazz.c
parent5632ae46d5bda798e971dae48ebb318ac2c3686a (diff)
downloadqemu-e155c99be9439f1fdf245b0b05251f2e225cde62.zip
qemu-e155c99be9439f1fdf245b0b05251f2e225cde62.tar.gz
qemu-e155c99be9439f1fdf245b0b05251f2e225cde62.tar.bz2
mips_jazz: 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/mips_jazz.c')
-rw-r--r--hw/mips_jazz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c
index e1ac147..2b911c7 100644
--- a/hw/mips_jazz.c
+++ b/hw/mips_jazz.c
@@ -181,8 +181,8 @@ static void mips_jazz_init(MemoryRegion *address_space,
memory_region_add_subregion(address_space, 0x8000d000, dma_dummy);
/* ISA devices */
- i8259 = i8259_init(env->irq[4]);
isa_bus_new(NULL, address_space_io);
+ i8259 = i8259_init(env->irq[4]);
isa_bus_irqs(i8259);
cpu_exit_irq = qemu_allocate_irqs(cpu_request_exit, NULL, 1);
DMA_init(0, cpu_exit_irq);