diff options
author | Richard Henderson | 2021-03-10 00:02:48 +0100 |
---|---|---|
committer | Richard Henderson | 2021-06-11 18:26:28 +0200 |
commit | c46184a90a5a0209960b7c0813aff4feb1e373e1 (patch) | |
tree | af5c0fba9d39fd31386b8e3cf47b18c4beab22a2 /include/tcg | |
parent | accel/tcg: Inline cpu_gen_init (diff) | |
download | qemu-c46184a90a5a0209960b7c0813aff4feb1e373e1.tar.gz qemu-c46184a90a5a0209960b7c0813aff4feb1e373e1.tar.xz qemu-c46184a90a5a0209960b7c0813aff4feb1e373e1.zip |
accel/tcg: Move alloc_code_gen_buffer to tcg/region.c
Buffer management is integral to tcg. Do not leave the allocation
to code outside of tcg/. This is code movement, with further
cleanups to follow.
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index 74cb345308..834785fc23 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -873,7 +873,7 @@ void *tcg_malloc_internal(TCGContext *s, int size); void tcg_pool_reset(TCGContext *s); TranslationBlock *tcg_tb_alloc(TCGContext *s); -void tcg_region_init(void); +void tcg_region_init(size_t tb_size, int splitwx); void tb_destroy(TranslationBlock *tb); void tcg_region_reset_all(void); |