]> git.proxmox.com Git - mirror_qemu.git/commit
softmmu: Restrict cpu_check_watchpoint / address_matches to TCG accel
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 28 Mar 2023 17:31:15 +0000 (19:31 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 28 Mar 2023 22:24:06 +0000 (15:24 -0700)
commit6eece7f531b69dd9d514e5bbed5659bd469bd7a2
tree5fcbeee3c2045ed0b15afbc00e0060400ab19cbb
parent4f5c67f8df7f26e559509c68c45e652709edd23f
softmmu: Restrict cpu_check_watchpoint / address_matches to TCG accel

Both cpu_check_watchpoint() and cpu_watchpoint_address_matches()
are specific to TCG system emulation. Declare them in "tcg-cpu-ops.h"
to be sure accessing them from non-TCG code is a compilation error.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230328173117.15226-2-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/hw/core/cpu.h
include/hw/core/tcg-cpu-ops.h
target/arm/tcg/mte_helper.c
target/arm/tcg/sve_helper.c
target/s390x/tcg/mem_helper.c