diff options
author | Anton Johansson <anjo@rev.ng> | 2023-06-21 15:56:31 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-06-26 17:33:00 +0200 |
commit | b1c09220b4cef17632495bfbb9a1355ce3eb301c (patch) | |
tree | 0c31f5f8e1ce358d416df69acef818befbde22f2 /include | |
parent | b0326eb99917d99a37c8cd9d479a2e9b04659076 (diff) | |
download | qemu-b1c09220b4cef17632495bfbb9a1355ce3eb301c.zip qemu-b1c09220b4cef17632495bfbb9a1355ce3eb301c.tar.gz qemu-b1c09220b4cef17632495bfbb9a1355ce3eb301c.tar.bz2 |
accel/tcg: Replace target_ulong with vaddr in translator_*()
Use vaddr for guest virtual address in translator_use_goto_tb() and
translator_loop().
Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230621135633.1649-11-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/exec/translator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/exec/translator.h b/include/exec/translator.h index 224ae14..a53d324 100644 --- a/include/exec/translator.h +++ b/include/exec/translator.h @@ -142,8 +142,8 @@ typedef struct TranslatorOps { * - When too many instructions have been translated. */ void translator_loop(CPUState *cpu, TranslationBlock *tb, int *max_insns, - target_ulong pc, void *host_pc, - const TranslatorOps *ops, DisasContextBase *db); + vaddr pc, void *host_pc, const TranslatorOps *ops, + DisasContextBase *db); /** * translator_use_goto_tb @@ -153,7 +153,7 @@ void translator_loop(CPUState *cpu, TranslationBlock *tb, int *max_insns, * Return true if goto_tb is allowed between the current TB * and the destination PC. */ -bool translator_use_goto_tb(DisasContextBase *db, target_ulong dest); +bool translator_use_goto_tb(DisasContextBase *db, vaddr dest); /** * translator_io_start |