在 2025/10/10 上午4:19, Philippe Mathieu-Daudé 写道:
translator_use_goto_tb() expects a vaddr type since commit b1c09220b4c ("accel/tcg: Replace target_ulong with vaddr in translator*()").Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- target/loongarch/tcg/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: Song Gao <[email protected]> Thanks. Song Gao
diff --git a/target/loongarch/tcg/translate.c b/target/loongarch/tcg/translate.c index 53a0b4c3ce9..e30b64c0e05 100644 --- a/target/loongarch/tcg/translate.c +++ b/target/loongarch/tcg/translate.c @@ -99,7 +99,7 @@ void generate_exception(DisasContext *ctx, int excp) ctx->base.is_jmp = DISAS_NORETURN; }-static inline void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest)+static inline void gen_goto_tb(DisasContext *ctx, int n, vaddr dest) { if (ctx->va32) { dest = (uint32_t) dest;
