mips_r4k: initialize i8259 after the ISA bus
Succeeding i8259 conversion to ISA requires this.
Signed-off-by: Avi Kivity <avi@redhat.com>
ppc_prep: initialize i8259 after the ISA bus
i8259: Convert to MemoryRegion
The only non-obvious part is pic_poll_read which used"addr1 >> 7" to detect whether one referred to eitherthe master or slave PIC. Instead, test this directly.
Signed-off-by: Richard Henderson <rth@twiddle.net>Signed-off-by: Avi Kivity <avi@redhat.com>
isa: add isa_register_ioport()
To replace isa_init_ioport and isa_init_ioport_rangeas the ISA devices are converted to the memory api.
[avi: use memory_region_size()]
pc: Re-order pc_init1 to initialize the ISA bus before ISA devices
In particular, the i8259 was being initialized before the ISA bus,leading to a crash.
cs4231a: Convert to MemoryRegion
i8254: Convert to MemoryRegion
mips_malta: move i8259 initialization after piix4 initialization
i8259 is an ISA device (or at least, depends on the ISA infrastructure toregister its ioport); and the ISA bus is supplied by piix4. Later patchesmake this dependency explicit.
Use qemu_irq_proxy() to stop the cycle by adding an extra layer of...
mips_jazz: initialize i8259 after the ISA bus
isa: Pass i/o address space to isa_bus_new
Not used yet, but at least we're provided with the correct region.
View revisions
Also available in: Atom