aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/plugin-memory.h
diff options
context:
space:
mode:
authorAnton Johansson <anjo@rev.ng>2023-06-21 15:56:22 +0200
committerRichard Henderson <richard.henderson@linaro.org>2023-06-26 17:32:59 +0200
commit732d548732edda90f3cfe0f7dceee64861f07b25 (patch)
treeafe4735dd724737610441556860da42a40dd296b /include/qemu/plugin-memory.h
parent390e8fc6b0e7b521c9eceb8dfe0958e141009ab9 (diff)
downloadqemu-732d548732edda90f3cfe0f7dceee64861f07b25.zip
qemu-732d548732edda90f3cfe0f7dceee64861f07b25.tar.gz
qemu-732d548732edda90f3cfe0f7dceee64861f07b25.tar.bz2
accel: Replace target_ulong in tlb_*()
Replaces target_ulong with vaddr for guest virtual addresses in tlb_*() functions and auxilliary structs. Signed-off-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230621135633.1649-2-anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/qemu/plugin-memory.h')
-rw-r--r--include/qemu/plugin-memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/plugin-memory.h b/include/qemu/plugin-memory.h
index 6fd5390..43165f2 100644
--- a/include/qemu/plugin-memory.h
+++ b/include/qemu/plugin-memory.h
@@ -37,7 +37,7 @@ struct qemu_plugin_hwaddr {
* It would only fail if not called from an instrumented memory access
* which would be an abuse of the API.
*/
-bool tlb_plugin_lookup(CPUState *cpu, target_ulong addr, int mmu_idx,
+bool tlb_plugin_lookup(CPUState *cpu, vaddr addr, int mmu_idx,
bool is_store, struct qemu_plugin_hwaddr *data);
#endif /* PLUGIN_MEMORY_H */