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().
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>...
hw/arm_gic.c: Ignore attempts to complete nonexistent IRQs
Ignore attempts to complete non-existent IRQs; this fixes a bufferoverrun if the guest writes a bad value to the GICC_EOIR register.(This case is UNPREDICTABLE so ignoring it is a valid choice.)...
pseries: Fix array overrun bug in PCI code
spapr_populate_pci_devices() containd a loop with PCI_NUM_REGIONS (7)iterations. However this overruns the 'bars' global array, which only has6 elements. In fact we only want to run this loop for things listed in the...
Fix hw_error messages from arm_timer.c
Two of the calls to hw_error() in arm_timer.c contain the wrong function name.
As suggested by Andreas Färber, use the C99 standard func macro toget the correct name, instead of putting the name directly into the code....
Merge remote-tracking branch 'kwolf/for-anthony' into staging
Merge remote-tracking branch 'aneesh/1.0-fixes' into staging
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
View revisions
Also available in: Atom