mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
61d6a91513
commit
32f0c394bb
22 changed files with 22 additions and 22 deletions
|
@ -5327,7 +5327,7 @@ static const TranslatorOps sparc_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 dc = {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue