aboutsummaryrefslogtreecommitdiff
path: root/target/mips/tcg/translate.c
diff options
context:
space:
mode:
authorAnton Johansson <anjo@rev.ng>2024-01-19 15:39:58 +0100
committerRichard Henderson <richard.henderson@linaro.org>2024-01-29 07:06:03 +1000
commit32f0c394bbf7fb2be635658cbf84c72a124720a0 (patch)
treecc169e3349c85786ce139508f85515d1ec60ec6c /target/mips/tcg/translate.c
parent61d6a915132db4616f601d5144fdac45f429a4cd (diff)
downloadqemu-32f0c394bbf7fb2be635658cbf84c72a124720a0.zip
qemu-32f0c394bbf7fb2be635658cbf84c72a124720a0.tar.gz
qemu-32f0c394bbf7fb2be635658cbf84c72a124720a0.tar.bz2
target: Use vaddr in gen_intermediate_code
Makes gen_intermediate_code() signature target agnostic so the function can be called from accel/tcg/translate-all.c without target specifics. Signed-off-by: Anton Johansson <anjo@rev.ng> Message-Id: <20240119144024.14289-9-anjo@rev.ng> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/mips/tcg/translate.c')
-rw-r--r--target/mips/tcg/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/mips/tcg/translate.c b/target/mips/tcg/translate.c
index 13e43fa..e102327 100644
--- a/target/mips/tcg/translate.c
+++ b/target/mips/tcg/translate.c
@@ -15554,7 +15554,7 @@ static const TranslatorOps mips_tr_ops = {
};
void gen_intermediate_code(CPUState *cs, TranslationBlock *tb, int *max_insns,
- target_ulong pc, void *host_pc)
+ vaddr pc, void *host_pc)
{
DisasContext ctx;