diff options
author | Anton Johansson <anjo@rev.ng> | 2023-08-07 17:56:59 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-08-24 11:21:29 -0700 |
commit | fcfe761680e2a94f64a20914c0df9462ec31b113 (patch) | |
tree | cac69384cc44daa98275c5fa33bd36cf14632010 /include/sysemu | |
parent | b67be03e3ac9d20a258f24dcaf1b61c91c1306f5 (diff) | |
download | qemu-fcfe761680e2a94f64a20914c0df9462ec31b113.zip qemu-fcfe761680e2a94f64a20914c0df9462ec31b113.tar.gz qemu-fcfe761680e2a94f64a20914c0df9462ec31b113.tar.bz2 |
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 'include/sysemu')
-rw-r--r-- | include/sysemu/hvf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sysemu/hvf.h b/include/sysemu/hvf.h index 70549b9..4cbae87 100644 --- a/include/sysemu/hvf.h +++ b/include/sysemu/hvf.h @@ -39,14 +39,14 @@ DECLARE_INSTANCE_CHECKER(HVFState, HVF_STATE, #ifdef NEED_CPU_H struct hvf_sw_breakpoint { - target_ulong pc; - target_ulong saved_insn; + vaddr pc; + vaddr saved_insn; int use_count; QTAILQ_ENTRY(hvf_sw_breakpoint) entry; }; struct hvf_sw_breakpoint *hvf_find_sw_breakpoint(CPUState *cpu, - target_ulong pc); + vaddr pc); int hvf_sw_breakpoints_active(CPUState *cpu); int hvf_arch_insert_sw_breakpoint(CPUState *cpu, struct hvf_sw_breakpoint *bp); |