summary refs log tree commit diff stats
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2021-02-19 14:45:47 +0000
committerPeter Maydell <peter.maydell@linaro.org>2021-03-08 17:20:02 +0000
commit92ecf2d5eeaecec2454e95acf2416162538c1225 (patch)
tree52d8db63b2c95f69171fe3b1ee9d9b3b80d8fe50 /hw/avr/arduino.c
parent31b0c6b17691b16175cb4bb01068df15d3b3b08c (diff)
downloadfocaccia-qemu-92ecf2d5eeaecec2454e95acf2416162538c1225.tar.gz
focaccia-qemu-92ecf2d5eeaecec2454e95acf2416162538c1225.zip
hw/misc/iotkit-sysctl: Handle CPU_WAIT, NMI_ENABLE for SSE-300
In the SSE-300 the CPU_WAIT and NMI_ENABLE registers have
moved offsets, so they are now where the SSE-200's WICCTRL
and EWCTRL were. The SSE-300 does not have WICCTLR or EWCTRL
at all, and the old offsets are reserved:

 Offset    SSE-200      SSE-300
-----------------------------------
 0x118     CPUWAIT      reserved
 0x118     NMI_ENABLE   reserved
 0x120     WICCTRL      CPUWAIT
 0x124     EWCTRL       NMI_ENABLE

Handle this reshuffle, and the fact that SSE-300 has only
one CPU and so only one active bit in CPUWAIT.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210219144617.4782-15-peter.maydell@linaro.org
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions