aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-03-07 10:31:49 -0800
committerRichard Henderson <richard.henderson@linaro.org>2025-03-08 10:06:31 -0800
commit6e9f90021178cbf08f841206942946c67b515317 (patch)
treec8d3cc5f6d55b282bf0814874fc76446e813417c
parent67ba7439481d61bc8482ff2ea436f74a575e371a (diff)
downloadqemu-6e9f90021178cbf08f841206942946c67b515317.zip
qemu-6e9f90021178cbf08f841206942946c67b515317.tar.gz
qemu-6e9f90021178cbf08f841206942946c67b515317.tar.bz2
accel/tcg: Build tcg-runtime.c once
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--accel/tcg/meson.build2
-rw-r--r--accel/tcg/tcg-runtime.c8
2 files changed, 3 insertions, 7 deletions
diff --git a/accel/tcg/meson.build b/accel/tcg/meson.build
index 81fb25d..411fe28 100644
--- a/accel/tcg/meson.build
+++ b/accel/tcg/meson.build
@@ -1,5 +1,6 @@
common_ss.add(when: 'CONFIG_TCG', if_true: files(
'cpu-exec-common.c',
+ 'tcg-runtime.c',
))
tcg_specific_ss = ss.source_set()
tcg_specific_ss.add(files(
@@ -7,7 +8,6 @@ tcg_specific_ss.add(files(
'cpu-exec.c',
'tb-maint.c',
'tcg-runtime-gvec.c',
- 'tcg-runtime.c',
'translate-all.c',
'translator.c',
))
diff --git a/accel/tcg/tcg-runtime.c b/accel/tcg/tcg-runtime.c
index 9fa539a..fa7ed97 100644
--- a/accel/tcg/tcg-runtime.c
+++ b/accel/tcg/tcg-runtime.c
@@ -23,13 +23,9 @@
*/
#include "qemu/osdep.h"
#include "qemu/host-utils.h"
-#include "cpu.h"
+#include "exec/cpu-common.h"
#include "exec/helper-proto-common.h"
-#include "exec/cpu_ldst.h"
-#include "exec/exec-all.h"
-#include "disas/disas.h"
-#include "exec/log.h"
-#include "tcg/tcg.h"
+#include "accel/tcg/getpc.h"
#define HELPER_H "accel/tcg/tcg-runtime.h"
#include "exec/helper-info.c.inc"