]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
tcg: Widen tcg_gen_code pc_start argument to uint64_t
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 9 Mar 2023 00:48:02 +0000 (16:48 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 16 May 2023 23:30:29 +0000 (16:30 -0700)
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg.h
tcg/tcg.c

index f40de4177deaa06317181c063f6392d0684463ed..42a3c05607fa3cdcb553cc298236a21b4b1737dd 100644 (file)
@@ -852,7 +852,7 @@ void tcg_register_thread(void);
 void tcg_prologue_init(TCGContext *s);
 void tcg_func_start(TCGContext *s);
 
-int tcg_gen_code(TCGContext *s, TranslationBlock *tb, target_ulong pc_start);
+int tcg_gen_code(TCGContext *s, TranslationBlock *tb, uint64_t pc_start);
 
 void tb_target_set_jmp_target(const TranslationBlock *, int,
                               uintptr_t, uintptr_t);
index 48853e015b9bd810bf3842d863b503f93c97223c..45e8aa67ec29d1757cd0767170b3e9efe254c58e 100644 (file)
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -5949,7 +5949,7 @@ int64_t tcg_cpu_exec_time(void)
 #endif
 
 
-int tcg_gen_code(TCGContext *s, TranslationBlock *tb, target_ulong pc_start)
+int tcg_gen_code(TCGContext *s, TranslationBlock *tb, uint64_t pc_start)
 {
 #ifdef CONFIG_PROFILER
     TCGProfile *prof = &s->prof;