summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorPeter Maydell2021-02-19 15:45:39 +0100
committerPeter Maydell2021-03-08 18:20:01 +0100
commit1cbd6fe4b8d5ae77de583b298d7834c8abe6ff46 (patch)
tree31f172b8d2195bbb2293f56cd24e874b648427ff /include/hw
parenthw/arm/armsse: Introduce SSE subsystem version property (diff)
downloadqemu-1cbd6fe4b8d5ae77de583b298d7834c8abe6ff46.tar.gz
qemu-1cbd6fe4b8d5ae77de583b298d7834c8abe6ff46.tar.xz
qemu-1cbd6fe4b8d5ae77de583b298d7834c8abe6ff46.zip
hw/misc/iotkit-sysctl: Remove is_sse200 flag
Remove the is_sse200 flag in favour of just directly testing the new sse_version field. Since some of these registers exist in the SSE-300 but some do not or have different behaviour, we expand out the if() statements in the read and write functions into switch()es, so we have an easy place to put SSE-300 specific behaviour. (Until we do add the SSE-300 behaviour, the thing preventing us reaching the "unreachable" default cases is that armsse.c doesn't yet pass us an ARMSSE_SSE300 version.) 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-7-peter.maydell@linaro.org
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/misc/iotkit-sysctl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/misc/iotkit-sysctl.h b/include/hw/misc/iotkit-sysctl.h
index 7cdafea3e2..980c2ddfd3 100644
--- a/include/hw/misc/iotkit-sysctl.h
+++ b/include/hw/misc/iotkit-sysctl.h
@@ -64,8 +64,6 @@ struct IoTKitSysCtl {
uint32_t cpuwait_rst;
uint32_t initsvtor0_rst;
uint32_t initsvtor1_rst;
-
- bool is_sse200;
};
#endif