aboutsummaryrefslogtreecommitdiff
path: root/hw/char
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2019-02-28 10:55:16 +0000
committerPeter Maydell <peter.maydell@linaro.org>2019-02-28 11:03:04 +0000
commit0f862986e02f5cc188e56b8bd6a8a203091c1dc2 (patch)
tree9772e873d653d2cf1d7ef24ff8e377128d62f632 /hw/char
parent0483641418643d5d4cc4d1328fe7acc4ab36c709 (diff)
hw/arm/iotkit-sysctl: Implement CPUWAIT and INITSVTOR*
The CPUWAIT register acts as a sort of power-control: if a bit in it is 1 then the CPU will have been forced into waiting when the system was reset (which in QEMU we model as the CPU starting powered off). Writing a 0 to the register will allow the CPU to boot (for QEMU, we model this as powering it on). Note that writing 0 to the register does not power off a CPU. For this to work correctly we need to also honour the INITSVTOR* registers, which let the guest control where the CPU will load its SP and PC from when it comes out of reset. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190219125808.25174-8-peter.maydell@linaro.org
Diffstat (limited to 'hw/char')
0 files changed, 0 insertions, 0 deletions