summary refs log tree commit diff stats
path: root/target/riscv/debug.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-03-14 12:57:31 -0700
committerRichard Henderson <richard.henderson@linaro.org>2025-04-23 14:08:44 -0700
commit161f5bc8e965fa8255db435683e6b52042037bb7 (patch)
treea10f74f2dd7ddd4e07dd57fd654c647519e80527 /target/riscv/debug.c
parent31030cf0ff7c72584663a5fe9a9318fc843210ef (diff)
downloadfocaccia-qemu-161f5bc8e965fa8255db435683e6b52042037bb7.tar.gz
focaccia-qemu-161f5bc8e965fa8255db435683e6b52042037bb7.zip
include/exec: Split out icount.h
Split icount stuff from system/cpu-timers.h.
There are 17 files which only require icount.h, 7 that only
require cpu-timers.h, and 7 that require both.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/riscv/debug.c')
-rw-r--r--target/riscv/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/riscv/debug.c b/target/riscv/debug.c
index fea989afe9..7fc9e121e1 100644
--- a/target/riscv/debug.c
+++ b/target/riscv/debug.c
@@ -32,6 +32,7 @@
 #include "exec/helper-proto.h"
 #include "exec/watchpoint.h"
 #include "system/cpu-timers.h"
+#include "exec/icount.h"
 
 /*
  * The following M-mode trigger CSRs are implemented: