From: Philippe Mathieu-Daudé Date: Thu, 9 Oct 2025 14:58:54 +0000 (+0200) Subject: target/rx: Replace target_ulong -> vaddr for translator API uses X-Git-Tag: v10.2.0-rc1~61^2~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2982b948a9faa8edd0c8a9366fab77cc1094e0a2;p=thirdparty%2Fqemu.git target/rx: Replace target_ulong -> vaddr for translator API uses Since commit b1c09220b4c ("accel/tcg: Replace target_ulong with vaddr in translator_*()") the API takes vaddr argument, not target_ulong. Update the 2 callers. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20251009151607.26278-2-philmd@linaro.org> --- diff --git a/target/rx/translate.c b/target/rx/translate.c index 5fc589c706..1c911cd9a6 100644 --- a/target/rx/translate.c +++ b/target/rx/translate.c @@ -85,7 +85,7 @@ static uint32_t decode_load_bytes(DisasContext *ctx, uint32_t insn, static uint32_t li(DisasContext *ctx, int sz) { - target_ulong addr; + vaddr addr; uint32_t tmp; CPURXState *env = ctx->env; addr = ctx->base.pc_next; @@ -147,8 +147,7 @@ void rx_cpu_dump_state(CPUState *cs, FILE *f, int flags) } } -static void gen_goto_tb(DisasContext *dc, unsigned tb_slot_idx, - target_ulong dest) +static void gen_goto_tb(DisasContext *dc, unsigned tb_slot_idx, vaddr dest) { if (translator_use_goto_tb(&dc->base, dest)) { tcg_gen_goto_tb(tb_slot_idx);