summary refs log tree commit diff stats
path: root/target
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2023-03-02 18:57:43 -0800
committerAlex Bennée <alex.bennee@linaro.org>2023-03-07 17:06:33 +0000
commit548c96095dae2af37c4145ff11f0d010c43e2be2 (patch)
tree82f2b64be682868b5dc8af440acc856911b132fe /target
parent9f56787c12e1b5f594ca790b1d84b8cc43a962d3 (diff)
downloadfocaccia-qemu-548c96095dae2af37c4145ff11f0d010c43e2be2.tar.gz
focaccia-qemu-548c96095dae2af37c4145ff11f0d010c43e2be2.zip
includes: move tb_flush into its own header
This aids subsystems (like gdbstub) that want to trigger a flush
without pulling target specific headers.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Message-Id: <20230302190846.2593720-8-alex.bennee@linaro.org>
Message-Id: <20230303025805.625589-8-richard.henderson@linaro.org>
Diffstat (limited to 'target')
-rw-r--r--target/alpha/sys_helper.c1
-rw-r--r--target/riscv/csr.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/alpha/sys_helper.c b/target/alpha/sys_helper.c
index 25f6cb8894..c83c92dd4c 100644
--- a/target/alpha/sys_helper.c
+++ b/target/alpha/sys_helper.c
@@ -20,6 +20,7 @@
 #include "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/exec-all.h"
+#include "exec/tb-flush.h"
 #include "exec/helper-proto.h"
 #include "sysemu/runstate.h"
 #include "sysemu/sysemu.h"
diff --git a/target/riscv/csr.c b/target/riscv/csr.c
index ab566639e5..d522efc0b6 100644
--- a/target/riscv/csr.c
+++ b/target/riscv/csr.c
@@ -25,6 +25,7 @@
 #include "time_helper.h"
 #include "qemu/main-loop.h"
 #include "exec/exec-all.h"
+#include "exec/tb-flush.h"
 #include "sysemu/cpu-timers.h"
 #include "qemu/guest-random.h"
 #include "qapi/error.h"