]> git.sur5r.net Git - openocd/commit
armv7m: implement async algorithm functions
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Fri, 15 Jul 2011 20:20:34 +0000 (22:20 +0200)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 8 Oct 2011 22:00:52 +0000 (00:00 +0200)
commit9d4c466c219039bd6a2ea03467cd3ee8be2a0e76
tree12bd4debbd46dd7993cd2e423dda41fc3de26d65
parent3f6ef7a40bcff5e1278b662248902c45a1dc8f81
armv7m: implement async algorithm functions

Split armv7m_run_algorithm into two pieces and use them to reimplement it.
The arch_info parameter is used to keep context between the two calls, so
both calls must refer to the same armv7m_algorithm struct. Ugly but works
for a proof-of-concept.

Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/target/armv7m.c
src/target/armv7m.h