diff options
author | Anton Johansson <anjo@rev.ng> | 2023-08-07 17:57:01 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-08-24 11:21:40 -0700 |
commit | d447a624d0cffb28836e776687a861cd27d06d2f (patch) | |
tree | a4d1701bb9fb856a91b2e0afe0d359f745cbc458 /target/i386 | |
parent | b8a6eb1862a96b1c51518df2562804a39eccd97b (diff) | |
download | qemu-d447a624d0cffb28836e776687a861cd27d06d2f.zip qemu-d447a624d0cffb28836e776687a861cd27d06d2f.tar.gz qemu-d447a624d0cffb28836e776687a861cd27d06d2f.tar.bz2 |
sysemu/hvf: Use vaddr for hvf_arch_[insert|remove]_hw_breakpoint
Changes the signature of the target-defined functions for
inserting/removing hvf hw breakpoints. The address and length arguments
are now of vaddr type, which both matches the type used internally in
accel/hvf/hvf-all.c and makes the api target-agnostic.
Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230807155706.9580-5-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/i386')
-rw-r--r-- | target/i386/hvf/hvf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/i386/hvf/hvf.c b/target/i386/hvf/hvf.c index b9cbcc0..cb2cd0b 100644 --- a/target/i386/hvf/hvf.c +++ b/target/i386/hvf/hvf.c @@ -690,12 +690,12 @@ int hvf_arch_remove_sw_breakpoint(CPUState *cpu, struct hvf_sw_breakpoint *bp) return -ENOSYS; } -int hvf_arch_insert_hw_breakpoint(target_ulong addr, target_ulong len, int type) +int hvf_arch_insert_hw_breakpoint(vaddr addr, vaddr len, int type) { return -ENOSYS; } -int hvf_arch_remove_hw_breakpoint(target_ulong addr, target_ulong len, int type) +int hvf_arch_remove_hw_breakpoint(vaddr addr, vaddr len, int type) { return -ENOSYS; } |