target/rx: Replace target_ulong -> vaddr for translator API uses

Since commit b1c09220b4 ("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é <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20251009151607.26278-2-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé
2025-10-09 16:58:54 +02:00
parent 886b0cea41
commit 2982b948a9

View File

@@ -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);