From 4baf3978c02b387c39dc6a75d323126ab386aece Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 9 Mar 2023 17:46:16 -0800 Subject: tcg: Add addr_type to TCGContext MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will enable replacement of TARGET_LONG_BITS within tcg/. Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- accel/tcg/translate-all.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'accel') diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index 7b7d9a5..99a9d0e 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -356,6 +356,8 @@ TranslationBlock *tb_gen_code(CPUState *cpu, tb_set_page_addr0(tb, phys_pc); tb_set_page_addr1(tb, -1); tcg_ctx->gen_tb = tb; + tcg_ctx->addr_type = TCG_TYPE_TL; + tb_overflow: #ifdef CONFIG_PROFILER -- cgit v1.1