mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
exec: Declare CPUBreakpoint/CPUWatchpoint type in 'breakpoint.h' header
The CPUBreakpoint and CPUWatchpoint structures are declared in "hw/core/cpu.h", which contains declarations related to CPUState and CPUClass. Some source files only require the BP/WP definitions and don't need to pull in all CPU* API. In order to simplify, create a new "exec/breakpoint.h" header. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Anton Johansson <anjo@rev.ng> Message-Id: <20240418192525.97451-3-philmd@linaro.org>
This commit is contained in:
parent
9c1283dd76
commit
6ce1c9d085
5 changed files with 35 additions and 15 deletions
|
@ -22,6 +22,8 @@
|
|||
#ifndef RISCV_DEBUG_H
|
||||
#define RISCV_DEBUG_H
|
||||
|
||||
#include "exec/breakpoint.h"
|
||||
|
||||
#define RV_MAX_TRIGGERS 2
|
||||
|
||||
/* register index of tdata CSRs */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue