openocd/src/helper
Andreas Fritiofson 6d639b09f0 Add a bit-level transfer queue
Interface drivers regularly need to keep track of where each part of a long
read buffer should be copied, once that data arrives. Both source and
destination are often at an arbitrary bit offset.

This queued bit-level copy can help with that, by allowing the driver to
perform postponed reads from the receive buffer already when building the
transmit buffer, and have those reads executed at a later time when data is
available.

For simplicity, it uses the linked list implementation list.h imported from
the Linux kernel.

Change-Id: I06862a0a6f057cbbcacfb021f17a795195faded2
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/450
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Reviewed-by: Peter Stuge <peter@stuge.se>
2012-07-06 14:58:25 +00:00
..
bin2char.c warnings: use more 'const' for char * 2010-12-29 22:07:39 +01:00
binarybuffer.c Add a bit-level transfer queue 2012-07-06 14:58:25 +00:00
binarybuffer.h Add a bit-level transfer queue 2012-07-06 14:58:25 +00:00
command.c Add value "openbsd" for ocd_HOSTOS. 2012-03-31 04:02:24 +00:00
command.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
configuration.c build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
configuration.h build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
fileio.c build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
fileio.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
ioutil_stubs.c stubs: buildfix 2009-12-02 15:24:14 -08:00
ioutil.c ecosboard: delete bit-rotted eCos code 2012-03-13 19:11:11 +00:00
ioutil.h build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
jim-nvp.c build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
jim-nvp.h build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
list.h Add a bit-level transfer queue 2012-07-06 14:58:25 +00:00
log.c build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
log.h build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
Makefile.am Add a bit-level transfer queue 2012-07-06 14:58:25 +00:00
options.c flash: retire unused eCos flash driver 2012-03-11 21:14:21 +00:00
replacements.c build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
replacements.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
startup.tcl Fix "Evaluate 'script' in the global scope" 2011-10-24 17:40:52 +00:00
system.h ecosboard: delete bit-rotted eCos code 2012-03-13 19:11:11 +00:00
time_support_common.c build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
time_support.c build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
time_support.h doxygen: use correct comment syntax 2012-02-06 12:55:03 +00:00
types.h build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
util.c build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00
util.h build: cleanup src/helper directory 2012-02-06 10:49:52 +00:00