]> git.proxmox.com Git - qemu.git/commit
mips_malta: move i8259 initialization after piix4 initialization
authorAvi Kivity <avi@redhat.com>
Mon, 12 Sep 2011 10:00:05 +0000 (13:00 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 11:58:36 +0000 (14:58 +0300)
commit5632ae46d5bda798e971dae48ebb318ac2c3686a
tree700923983488f09b16a431dcfab9f81297c533a1
parent60ea6aa8fcf1bc678b13bf8cff5848e0c8eb8430
mips_malta: move i8259 initialization after piix4 initialization

i8259 is an ISA device (or at least, depends on the ISA infrastructure to
register its ioport); and the ISA bus is supplied by piix4.  Later patches
make this dependency explicit.

Use qemu_irq_proxy() to stop the cycle by adding an extra layer of
indirection.

Signed-off-by: Avi Kivity <avi@redhat.com>
hw/mips_malta.c