Peter Maydell 92ecf2d5ee 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
2021-03-08 17:20:02 +00:00
..
2020-08-27 14:04:55 -04:00
2019-08-16 13:31:52 +02:00
2020-01-17 14:27:16 +00:00
2019-08-16 13:31:52 +02:00
2020-09-09 09:27:09 -04:00
2021-02-20 12:36:19 +01:00
2020-12-08 13:48:57 -05:00
2021-02-08 15:15:32 +01:00