Make cortex_m3 functions public accessible.
[fw/openocd] / src / target / cortex_m.h
index e16aa89feb96544664d4997f8e032843656341bd..789e8530f8066f7dd8d6bd94ae15958ec3ae6a00 100644 (file)
@@ -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 */