pxa2xx: convert to memory API (part II)
Signed-off-by: Avi Kivity <avi@redhat.com>
ppc_oldworld: convert to memory API
ppc_prep: convert to memory API
pxa2xx: convert to memory API (part I)
i8259: Fix coding style
No functional changes.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
monitor: Restrict pic/irq_info to supporting targets
This allows to drop various stubs and move the i8359 into hwlib.
i8259: Convert to qdev
This key cleanup step requires to move the IRQ debugging bit fromi8259_set_irq directly to the per-PIC pic_set_irq, to pass the PICparameters (I/O base, ELCR address and mask, master/slave mode) asqdev properties, and to interconnect the PICs with their environment via...
qdev: Add HEX8 property
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Reviewed-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
i8259: Eliminate PicState2
Introduce a reference to the slave PIC for the few cases we need toaccess it without a proper pointer at hand and drop PicState2. We couldeven live without slave_pic if we had a better way of modeling thecascade bus the PICs are attached to (in addition to the ISA bus)....
i8259: Replace PicState::pics_state with master flag
This reflects how real PICs indentify their role (in non-buffered mode):Pass the state of the /SP input on pic_init and use it instead ofpics_state to differentiate between master and slave mode.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>...
View revisions
Also available in: Atom