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)
commit9f8628c0236794a1d8757a68ad81fe5e11a43780
tree700923983488f09b16a431dcfab9f81297c533a1
parent960d736f1b09138620ab1a95063140aaa335b126
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