system/cpu-timers: Introduce ICountMode enumerator
commit8e98c27daacba2fac0cb868f905489b9a744a152
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 8 Dec 2023 11:35:25 +0000 (8 12:35 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 19 Jan 2024 11:28:59 +0000 (19 12:28 +0100)
treec19e514413c554a39e965d2ccaec8780816ea35f
parentf07f246734e271b368bfc9afc4cbc437999d58ea
system/cpu-timers: Introduce ICountMode enumerator

Rather than having to lookup for what the 0, 1, 2, ...
icount values are, use a enum definition.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20231208113529.74067-4-philmd@linaro.org>
accel/tcg/icount-common.c
include/sysemu/cpu-timers.h
stubs/icount.c
system/cpu-timers.c
target/arm/helper.c