]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/cpu.h
target-arm: Move feature bit settings to CPU init fns
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Apr 2012 17:58:31 +0000 (17:58 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 21 Apr 2012 18:07:21 +0000 (18:07 +0000)
commit581be09434f155ebe0ee7b532c20974843188958
treed916958cef310823ecfc058684e7234d81c14589
parent777dc78411865f2721f8728c71edb0b215da57fc
target-arm: Move feature bit settings to CPU init fns

Move the setting of the feature bits from cpu_reset_model_id()
to each CPU's instance init function. This requires us to move
the features field in CPUARMState so that it is not cleared
on reset.

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