OSDN Git Service

target-arm: Move iWMMXT wCID reset to cpu_state_reset
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Apr 2012 17:58:34 +0000 (17:58 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 21 Apr 2012 18:11:35 +0000 (18:11 +0000)
commit0cc892fd97b2d232ae45a30aec342a2e0fb148aa
tree3f7f864fa29ce6a00d22669b3f35664bf95d3e3f
parent4e851c380eda2bf27ff2ded85e4c80a342e6a72f
target-arm: Move iWMMXT wCID reset to cpu_state_reset

Move the iWMMXT wCID reset to cpu_state_reset(). Since
we use the same value for all CPUs with this feature
(with the major/minor revision fields set to the QEMU
specific 'Q' value) there's no need to create an ARMCPU
field just for this.

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