aboutsummaryrefslogtreecommitdiff
path: root/src/target/dsp563xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/dsp563xx.h')
-rw-r--r--src/target/dsp563xx.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/target/dsp563xx.h b/src/target/dsp563xx.h
index b2ee9d1f..446ad3f5 100644
--- a/src/target/dsp563xx.h
+++ b/src/target/dsp563xx.h
@@ -31,6 +31,16 @@ struct mcu_jtag {
struct jtag_tap *tap;
};
+enum breakpoint_usage {
+ BPU_NONE = 0,
+ BPU_BREAKPOINT,
+ BPU_WATCHPOINT
+};
+
+struct hardware_breakpoint {
+ enum breakpoint_usage used;
+};
+
struct dsp563xx_common {
struct mcu_jtag jtag_info;
struct reg_cache *core_cache;
@@ -40,6 +50,11 @@ struct dsp563xx_common {
/* register cache to processor synchronization */
int (*read_core_reg) (struct target *target, int num);
int (*write_core_reg) (struct target *target, int num);
+
+ struct hardware_breakpoint hardware_breakpoint[1];
+
+ /*Were the hardware breakpoints cleared on startup?*/
+ int hardware_breakpoints_cleared;
};
struct dsp563xx_core_reg {