mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
7109ef15c5
commit
a76aabd37b
4 changed files with 11 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue