diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-02-19 14:45:47 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-03-08 17:20:02 +0000 |
commit | 92ecf2d5eeaecec2454e95acf2416162538c1225 (patch) | |
tree | 52d8db63b2c95f69171fe3b1ee9d9b3b80d8fe50 /hw/misc/mps2-fpgaio.c | |
parent | 31b0c6b17691b16175cb4bb01068df15d3b3b08c (diff) | |
download | 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/misc/mps2-fpgaio.c')
0 files changed, 0 insertions, 0 deletions