aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorGareth McMullin2015-03-08 12:55:59 -0700
committerGareth McMullin2015-03-19 07:48:47 -0700
commitc2462a6788c119edd9995fa46f1316a9c0431e0b (patch)
treeef75072d2228b362f535efcf3839b7d56aa3253a /src/include
parente380ced5171dc3c9098005924f61051a43b79428 (diff)
Add cortexm generic stub call, and use in stm32f1 driver.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cortexm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cortexm.h b/src/include/cortexm.h
index 1fd77e6..8f4d45d 100644
--- a/src/include/cortexm.h
+++ b/src/include/cortexm.h
@@ -146,6 +146,9 @@
bool cortexm_attach(struct target_s *target);
void cortexm_detach(struct target_s *target);
void cortexm_halt_resume(struct target_s *target, bool step);
+int cortexm_run_stub(struct target_s *target, uint32_t loadaddr,
+ const uint16_t *stub, uint32_t stublen,
+ uint32_t r0, uint32_t r1, uint32_t r2, uint32_t r3);
#endif