target-arm: Move reset handling to arm_cpu_reset
commit3c30dd5a68e9fee6af67cfd0d14ed7520820f36a
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Apr 2012 17:58:36 +0000 (20 17:58 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 21 Apr 2012 18:13:22 +0000 (21 18:13 +0000)
treefe0855953f892b48ab14d984ae35ebf7b866bc37
parentcaa1d0779e956afe694922ca4bf7e2903356fcff
target-arm: Move reset handling to arm_cpu_reset

Now that cpu_reset_model_id() has gone we can move the
reset code over to the class reset function and have cpu_state_reset
simply do a reset on the CPU QOM object.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Andreas Färber <afaerber@suse.de>
target-arm/cpu.c
target-arm/helper.c