summaryrefslogtreecommitdiffstats
path: root/include/tcg
diff options
context:
space:
mode:
authorRichard Henderson2021-03-10 00:24:33 +0100
committerRichard Henderson2021-06-11 18:26:28 +0200
commita76aabd37b5d9ddfff2de837ddef91768aa26e3e (patch)
tree38f779677d0ed4a335509165f0f8f14e1e1d446e /include/tcg
parentaccel/tcg: Rename tcg_init to tcg_init_machine (diff)
downloadqemu-a76aabd37b5d9ddfff2de837ddef91768aa26e3e.tar.gz
qemu-a76aabd37b5d9ddfff2de837ddef91768aa26e3e.tar.xz
qemu-a76aabd37b5d9ddfff2de837ddef91768aa26e3e.zip
tcg: Create tcg_init
Perform both tcg_context_init and tcg_region_init. Do not leave this split to the caller. Reviewed-by: Luis Pires <luis.pires@eldorado.org.br> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg')
-rw-r--r--include/tcg/tcg.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h
index 834785fc23..b3304ce095 100644
--- a/include/tcg/tcg.h
+++ b/include/tcg/tcg.h
@@ -873,7 +873,6 @@ void *tcg_malloc_internal(TCGContext *s, int size);
void tcg_pool_reset(TCGContext *s);
TranslationBlock *tcg_tb_alloc(TCGContext *s);
-void tcg_region_init(size_t tb_size, int splitwx);
void tb_destroy(TranslationBlock *tb);
void tcg_region_reset_all(void);
@@ -906,7 +905,7 @@ static inline void *tcg_malloc(int size)
}
}
-void tcg_context_init(TCGContext *s);
+void tcg_init(size_t tb_size, int splitwx);
void tcg_register_thread(void);
void tcg_prologue_init(TCGContext *s);
void tcg_func_start(TCGContext *s);