hw/arm_gic: Make gic_reset a sysbus reset function
commitaecff6924dab0197b6c8f132e44502b25fd98a38
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Apr 2012 11:39:09 +0000 (13 11:39 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Apr 2012 12:29:04 +0000 (13 12:29 +0000)
tree5c0ca23b4fcf03f271b2bf62074c4cd00149f79f
parent2e9dfe20a62d93f145ea12a1b4755bb9cd61c327
hw/arm_gic: Make gic_reset a sysbus reset function

Make gic_reset a sysbus reset function, so we actually
reset the GIC on system reset rather than only at init.
For the NVIC this requires us also to implement reset
of the SysTick.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm_gic.c
hw/armv7m_nvic.c