diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-09-29 19:54:54 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-04 11:03:54 -0700 |
| commit | d7ec12f83cbb63343dd6e76392241e16a58f41e8 (patch) | |
| tree | b23fad5dd10abc59e006f434d72f2e47101cfe49 /include/tcg/tcg.h | |
| parent | 935f75ae639bab5e443aeea7c79a78b949c55fe8 (diff) | |
| download | focaccia-qemu-d7ec12f83cbb63343dd6e76392241e16a58f41e8.tar.gz focaccia-qemu-d7ec12f83cbb63343dd6e76392241e16a58f41e8.zip | |
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 'include/tcg/tcg.h')
| -rw-r--r-- | include/tcg/tcg.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index 2e2d12d421..680ff00722 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -782,9 +782,6 @@ static inline void *tcg_malloc(int size) } } -void tcg_init(size_t tb_size, int splitwx, unsigned max_cpus); -void tcg_register_thread(void); -void tcg_prologue_init(void); void tcg_func_start(TCGContext *s); int tcg_gen_code(TCGContext *s, TranslationBlock *tb, uint64_t pc_start); |