diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-03-06 18:58:53 -0800 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-03-08 07:55:50 -0800 |
| commit | 5469933810b00589d5db36408dd4e0236eec95ac (patch) | |
| tree | 790e6eeb235471db09e5166c3f2ecc812e252f17 /accel/tcg/internal-common.h | |
| parent | b9e3bf884aaa2d243fa3554c4dafea293187aa02 (diff) | |
| download | focaccia-qemu-5469933810b00589d5db36408dd4e0236eec95ac.tar.gz focaccia-qemu-5469933810b00589d5db36408dd4e0236eec95ac.zip | |
accel/tcg: Compile watchpoint.c once
Move tb_check_watchpoint declaration from tb-internal.h, which is still target-specific, to internal-common.h, which isn't. Otherwise, all that is required to build watchpoint.c once is to include the new exec/cpu-interrupt.h instead of exec/exec-all.h. Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg/internal-common.h')
| -rw-r--r-- | accel/tcg/internal-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel/tcg/internal-common.h b/accel/tcg/internal-common.h index 7ef620d963..9b6ab3a8cc 100644 --- a/accel/tcg/internal-common.h +++ b/accel/tcg/internal-common.h @@ -72,4 +72,6 @@ void tcg_exec_unrealizefn(CPUState *cpu); /* current cflags for hashing/comparison */ uint32_t curr_cflags(CPUState *cpu); +void tb_check_watchpoint(CPUState *cpu, uintptr_t retaddr); + #endif |