aboutsummaryrefslogtreecommitdiff
path: root/include/exec
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-03-13 17:35:29 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-05-16 16:30:29 -0700
commitfcdab382c8b92bcc689b18f8ba5cd036139945bf (patch)
tree1af3dbcdaa22146e0f014704d0d0163a9f70ce2f /include/exec
parenteb9d02f24b1ce877a60ffaf6cc1ecc8484740b37 (diff)
downloadqemu-fcdab382c8b92bcc689b18f8ba5cd036139945bf.zip
qemu-fcdab382c8b92bcc689b18f8ba5cd036139945bf.tar.gz
qemu-fcdab382c8b92bcc689b18f8ba5cd036139945bf.tar.bz2
accel/tcg: Widen plugin_gen_empty_mem_callback to i64
Since we do this inside gen_empty_mem_cb anyway, let's do this earlier inside tcg expansion. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/plugin-gen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/exec/plugin-gen.h b/include/exec/plugin-gen.h
index 5f5506f..3af0168 100644
--- a/include/exec/plugin-gen.h
+++ b/include/exec/plugin-gen.h
@@ -27,7 +27,7 @@ void plugin_gen_insn_start(CPUState *cpu, const struct DisasContextBase *db);
void plugin_gen_insn_end(void);
void plugin_gen_disable_mem_helpers(void);
-void plugin_gen_empty_mem_callback(TCGv addr, uint32_t info);
+void plugin_gen_empty_mem_callback(TCGv_i64 addr, uint32_t info);
static inline void plugin_insn_append(abi_ptr pc, const void *from, size_t size)
{
@@ -69,7 +69,7 @@ static inline void plugin_gen_tb_end(CPUState *cpu)
static inline void plugin_gen_disable_mem_helpers(void)
{ }
-static inline void plugin_gen_empty_mem_callback(TCGv addr, uint32_t info)
+static inline void plugin_gen_empty_mem_callback(TCGv_i64 addr, uint32_t info)
{ }
static inline void plugin_insn_append(abi_ptr pc, const void *from, size_t size)