Files
qemu/include/exec/watchpoint.h
Philippe Mathieu-Daudé ec77d52cc5 accel/tcg: Un-inline WatchPoint API user-emulation stubs
Currently we can not build files including "exec/watchpoint.h"
as meson common objects because the CONFIG_USER_ONLY definition
is poisoned. We can easily fix that by un-inlining the
user-emulation stubs.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20260106231908.16756-5-philmd@linaro.org>
2026-01-12 23:47:57 +01:00

19 lines
574 B
C

/*
* CPU watchpoints
*
* Copyright (c) 2012 SUSE LINUX Products GmbH
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef EXEC_WATCHPOINT_H
#define EXEC_WATCHPOINT_H
int cpu_watchpoint_insert(CPUState *cpu, vaddr addr, vaddr len,
int flags, CPUWatchpoint **watchpoint);
int cpu_watchpoint_remove(CPUState *cpu, vaddr addr,
vaddr len, int flags);
void cpu_watchpoint_remove_by_ref(CPUState *cpu, CPUWatchpoint *watchpoint);
void cpu_watchpoint_remove_all(CPUState *cpu, int mask);
#endif /* EXEC_WATCHPOINT_H */