]> git.proxmox.com Git - qemu.git/commit - target-arm/cpu-qom.h
target-arm: Move SCTLR reset value setup to per cpu init fns
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Apr 2012 17:58:33 +0000 (17:58 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 21 Apr 2012 18:10:44 +0000 (18:10 +0000)
commit0ca7e01cbc5f2850560e6a170ae1e4541aecce17
tree3f920fddace3ac71866734b8d4a6ba68988d8399
parent64e1671fd46669f097763f71b9a8cbcc0bf61cce
target-arm: Move SCTLR reset value setup to per cpu init fns

Move the reset value of SCTLR to ARMCPU, initialised in
the per-cpu init functions. It can then be reset by a
simple copy, and we can drop the code from cpu_reset_model_id().

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/helper.c