Remove unnecessary casts from PCI DMA code in eepro100
This patch removes some unnecessary casts in the eepro100 device,introduced by commit 16ef60c9a8eeee269f7cbc95219a431b1d7cbf29'eepro100: Use PCI DMA stub functions'.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>...
Remove unnecessary casts from PCI DMA code in e1000
This patch removes some unnecessary casts in the e1000 device,introduced by commit 62ecbd353d25e62c4a6c327ea88ba5404e13507a 'e1000:Use PCI DMA stub functions'.
hw/arm_mptimer.c: Turn ARM MPcore private timers into qdev devices
Turn the ARM MPcore private timer/watchdog blocks into separateqdev devices. This will allow us to share them neatly between11MPCore and A9MPcore.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm_gic: Expose GIC CPU interfaces as sysbus memory regions
Expose the ARM GIC CPU interfaces as memory regions, rather thanjust providing read and write functions for them.
hw/mpcore.c: Use the GIC memory regions for the CPU interface
Switch to using the GIC memory regions for the CPU interfacerather than hand implementing them as a subcase of mpcore_priv_read()and mpcore_priv_write().
hw/realview_gic: Use GIC memory region for the CPU interface
Use the GIC provided memory region for the CPU interface ratherthan implementing our own.
hw/mpcore: Clean up mpcore_priv_read/write as they are now SCU only
The only code left in mpcore_priv_read and mpcore_priv_write is nowthe implementation of the SCU registers. Clean up by renaming functionsand removing some unnecessary conditionals to make this clearer....
hw/a9mpcore.c: Implement A9MP peripherals rather than 11MPcore ones
Implement the A9MP private peripheral region correctly, ratherthan piggybacking on the 11MPCore code; the two CPUs are not thesame in this area.
hw/mpcore.c: Merge with hw/arm11mpcore.c
hw/mpcore.c is now implementing only ARM11MPCore specific peripherals,and is #included only from hw/arm11mpcore.c, so just merge it into thatfile.
Fix sp804 dual-timer
Properly implement dual-timer read/write for the sp804 dual timer module.Based on ARM specs athttp://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0271d/index.html
Signed-off-by: Hans Jang <hsjang@ok-labs.com>Signed-off-by: David Mirabito <david.mirabito@nicta.com.au>...
View revisions
Also available in: Atom