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>
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
/* icount - Instruction Counter API */
|
||||
|
||||
int use_icount;
|
||||
ICountMode use_icount = ICOUNT_DISABLED;
|
||||
|
||||
void icount_update(CPUState *cpu)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user