aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/main.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-09-29 19:54:54 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-10-04 11:03:54 -0700
commitd7ec12f83cbb63343dd6e76392241e16a58f41e8 (patch)
treeb23fad5dd10abc59e006f434d72f2e47101cfe49 /bsd-user/main.c
parent935f75ae639bab5e443aeea7c79a78b949c55fe8 (diff)
downloadqemu-d7ec12f83cbb63343dd6e76392241e16a58f41e8.zip
qemu-d7ec12f83cbb63343dd6e76392241e16a58f41e8.tar.gz
qemu-d7ec12f83cbb63343dd6e76392241e16a58f41e8.tar.bz2
tcg: Split out tcg init functions to tcg/startup.h
The tcg/tcg.h header is a big bucket, containing stuff related to the translators and the JIT backend. The places that initialize tcg or create new threads do not need all of that, so split out these three functions to a new header. Suggested-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/main.c')
-rw-r--r--bsd-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c
index 7ad4069..703f3e2 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -36,7 +36,7 @@
#include "qemu/help_option.h"
#include "qemu/module.h"
#include "exec/exec-all.h"
-#include "tcg/tcg.h"
+#include "tcg/startup.h"
#include "qemu/timer.h"
#include "qemu/envlist.h"
#include "qemu/cutils.h"