aboutsummaryrefslogtreecommitdiff
path: root/src/target/cortex_m.h
diff options
context:
space:
mode:
authorMathias K <kesmtp@freenet.de>2011-12-15 11:38:35 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2012-01-03 21:11:51 +0000
commit54f820e8d8891a3296c38aa135dd7c1689d77fe0 (patch)
tree12333680102bfaf0efe35da089d362717ec69ad6 /src/target/cortex_m.h
parent9f898223355aeaeb018f2220deda94d208f345a1 (diff)
Make cortex_m3 functions public accessible.
Change this functions to make it accessible for other target implementations. Change-Id: Ib41fc793cfb4de5439af026c2e8b52e7a9507c85 Signed-off-by: Mathias K <kesmtp@freenet.de> Reviewed-on: http://openocd.zylin.com/278 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/cortex_m.h')
-rw-r--r--src/target/cortex_m.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/target/cortex_m.h b/src/target/cortex_m.h
index e16aa89f..789e8530 100644
--- a/src/target/cortex_m.h
+++ b/src/target/cortex_m.h
@@ -185,4 +185,15 @@ target_to_cm3(struct target *target)
struct cortex_m3_common, armv7m);
}
+int cortex_m3_set_breakpoint(struct target *target, struct breakpoint *breakpoint);
+int cortex_m3_unset_breakpoint(struct target *target, struct breakpoint *breakpoint);
+int cortex_m3_add_breakpoint(struct target *target, struct breakpoint *breakpoint);
+int cortex_m3_remove_breakpoint(struct target *target, struct breakpoint *breakpoint);
+int cortex_m3_set_watchpoint(struct target *target, struct watchpoint *watchpoint);
+int cortex_m3_unset_watchpoint(struct target *target, struct watchpoint *watchpoint);
+int cortex_m3_add_watchpoint(struct target *target, struct watchpoint *watchpoint);
+int cortex_m3_remove_watchpoint(struct target *target, struct watchpoint *watchpoint);
+void cortex_m3_enable_watchpoints(struct target *target);
+void cortex_m3_dwt_setup(struct cortex_m3_common *cm3, struct target *target);
+
#endif /* CORTEX_M3_H */