OSDN Git Service

cpu: move debug_check_watchpoint to tcg_ops
authorClaudio Fontana <cfontana@suse.de>
Thu, 4 Feb 2021 16:39:22 +0000 (17:39 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 5 Feb 2021 20:24:14 +0000 (10:24 -1000)
commitc73bdb35a91fb6b17c2c93b1ba381fc88a406f8d
tree4583576d78cef9d8fa278a9c4ffa6941356966d3
parent9ea9087bb4a86893e4ac6ff643837937dc9e5849
cpu: move debug_check_watchpoint to tcg_ops

commit 568496c0c0f1 ("cpu: Add callback to check architectural") and
commit 3826121d9298 ("target-arm: Implement checking of fired")
introduced an ARM-specific hack for cpu_check_watchpoint.

Make debug_check_watchpoint optional, and move it to tcg_ops.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210204163931.7358-15-cfontana@suse.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/user-exec.c
hw/core/cpu.c
include/hw/core/cpu.h
softmmu/physmem.c
target/arm/cpu.c