aboutsummaryrefslogtreecommitdiff
path: root/accel/hvf/hvf-all.c
diff options
context:
space:
mode:
authorAnton Johansson <anjo@rev.ng>2023-08-07 17:56:59 +0200
committerRichard Henderson <richard.henderson@linaro.org>2023-08-24 11:21:29 -0700
commitfcfe761680e2a94f64a20914c0df9462ec31b113 (patch)
treecac69384cc44daa98275c5fa33bd36cf14632010 /accel/hvf/hvf-all.c
parentb67be03e3ac9d20a258f24dcaf1b61c91c1306f5 (diff)
accel/hvf: Widen pc/saved_insn for hvf_sw_breakpoint
Widens the pc and saved_insn fields of hvf_sw_breakpoint from target_ulong to vaddr. Other hvf_* functions accessing hvf_sw_breakpoint are also widened to match. Signed-off-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230807155706.9580-3-anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/hvf/hvf-all.c')
-rw-r--r--accel/hvf/hvf-all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/hvf/hvf-all.c b/accel/hvf/hvf-all.c
index 4920787af6..db05b81be5 100644
--- a/accel/hvf/hvf-all.c
+++ b/accel/hvf/hvf-all.c
@@ -51,7 +51,7 @@ void assert_hvf_ok(hv_return_t ret)
abort();
}
-struct hvf_sw_breakpoint *hvf_find_sw_breakpoint(CPUState *cpu, target_ulong pc)
+struct hvf_sw_breakpoint *hvf_find_sw_breakpoint(CPUState *cpu, vaddr pc)
{
struct hvf_sw_breakpoint *bp;