openocd/src/target
Andreas Fritiofson 61f3d4b7e4 target: increase chunk size in dump_image
Replace the big stack-allocated buffer with a much bigger heap-allocated.
There was no explanation for the apparently arbitrary chunk size, and
performance was improved by increasing it, leveling out at about 4k.

Change-Id: I3b06d4469092ec8d89d0ce05bff0b7cf213c5062
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/404
Tested-by: jenkins
Reviewed-by: Marti Bolivar <mbolivar@leaflabs.com>
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
2012-01-30 19:09:53 +00:00
..
ecos - reverted some of the changes that possibly broke arm926ejs. Waiting 2008-04-04 13:47:38 +00:00
xscale Remove annoying end-of-line whitespace from most src/* 2009-09-21 18:40:55 +00:00
Makefile.am STM32 ST-LINK target initial release 2012-01-03 21:12:37 +00:00
adi_v5_jtag.c arm_adi_v5: add/move apsel member in struct adiv5_dap 2011-02-17 09:28:07 +01:00
adi_v5_swd.c transport: move files over to transport folder 2011-06-13 15:51:04 +02:00
algorithm.c change #include "binarybuffer.h" to <helper/binarybuffer.h> 2009-12-03 04:22:17 -08:00
algorithm.h warnings: use more 'const' for char * 2010-12-29 22:07:39 +01:00
arm.h cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm7_9_common.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm7_9_common.h cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm7tdmi.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm7tdmi.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm9tdmi.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm9tdmi.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm11.c cmd: add missing usage vars 2012-01-18 21:45:02 +00:00
arm11.h ARM11: per-core options should not be global 2010-02-21 14:30:27 -08:00
arm11_dbgtap.c arm11: disable broken optimization for setting current scan chain 2011-08-08 22:33:41 +02:00
arm11_dbgtap.h arm11 error propagation fixes 2010-07-20 08:42:52 +02:00
arm720t.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm720t.h cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm920t.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm920t.h cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm926ejs.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm926ejs.h cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm946e.c cmd: add missing usage vars 2012-01-18 21:45:02 +00:00
arm946e.h cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm966e.c cmd: add missing usage vars 2012-01-18 21:45:02 +00:00
arm966e.h cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm_adi_v5.c cmd: add missing usage vars 2012-01-18 21:45:02 +00:00
arm_adi_v5.h types: write memory now uses const 2011-04-01 08:59:07 +02:00
arm_disassembler.c retire ERROR_INVALID_ARGUMENTS and replace with ERROR_COMMAND_SYNTAX_ERROR 2012-01-04 17:13:46 +00:00
arm_disassembler.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
arm_dpm.c retire ERROR_INVALID_ARGUMENTS and replace with ERROR_COMMAND_SYNTAX_ERROR 2012-01-04 17:13:46 +00:00
arm_dpm.h armv7a ,cortex a : add L1, L2 cache support, va to pa support 2011-09-30 09:45:26 +02:00
arm_jtag.c ARM_JTAG: review scope of functions 2010-04-10 16:59:50 +08:00
arm_jtag.h warnings: fix alignment warnings 2010-09-20 13:12:35 +02:00
arm_opcodes.h Add opcodes for load/store registers words immediate post-indexed 2011-04-13 21:32:24 +02:00
arm_semihosting.c target: rename cortex_m3.[ch] to cortex_m.[ch] 2011-11-01 14:23:08 +00:00
arm_semihosting.h ARM: remove semihosting globals 2009-12-04 16:51:48 -08:00
arm_simulator.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
arm_simulator.h ARM_SIMULATOR: review scope of functions 2010-04-10 16:57:49 +08:00
armv4_5.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
armv4_5.h ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
armv4_5_cache.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
armv4_5_cache.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
armv4_5_mmu.c types: write memory now uses const 2011-04-01 08:59:07 +02:00
armv4_5_mmu.h types: write memory now uses const 2011-04-01 08:59:07 +02:00
armv7a.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
armv7a.h cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
armv7m.c target: move regmaps to armv7m.c 2012-01-18 21:45:42 +00:00
armv7m.h target: move regmaps to armv7m.c 2012-01-18 21:45:42 +00:00
avr32_ap7k.c retire ERROR_INVALID_ARGUMENTS and replace with ERROR_COMMAND_SYNTAX_ERROR 2012-01-04 17:13:46 +00:00
avr32_ap7k.h avr32: work-in-progress 2010-08-15 21:51:34 +02:00
avr32_jtag.c avr32: work-in-progress 2010-08-15 21:51:34 +02:00
avr32_jtag.h avr32: work-in-progress 2010-08-15 21:51:34 +02:00
avr32_mem.c types: write memory now uses const 2011-04-01 08:59:07 +02:00
avr32_mem.h types: write memory now uses const 2011-04-01 08:59:07 +02:00
avr32_regs.c avr32_regs: add missing error propagation 2011-11-04 09:05:15 +00:00
avr32_regs.h avr32: work-in-progress 2010-08-15 21:51:34 +02:00
avrt.c target/avrt: review unused symbols 2010-06-21 22:14:18 +08:00
avrt.h target/avr: review scope of symbols 2010-06-21 22:14:17 +08:00
breakpoints.c breakpoint : smp software breakpoint issue 2011-10-13 18:54:04 +00:00
breakpoints.h cortex_a hybrid & context breakpoints 2011-08-30 18:27:52 +02:00
cortex_a.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
cortex_a.h cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
cortex_m.c target: move regmaps to armv7m.c 2012-01-18 21:45:42 +00:00
cortex_m.h Make cortex_m3 functions public accessible. 2012-01-03 21:11:51 +00:00
dsp563xx.c retire ERROR_INVALID_ARGUMENTS and replace with ERROR_COMMAND_SYNTAX_ERROR 2012-01-04 17:13:46 +00:00
dsp563xx.h - remove pipeline context, use once register instead - fix wrong register write in resume and step function - add more conditional branch handling 2011-02-17 08:24:17 +01:00
dsp563xx_once.c dsp563xx_once: fix warning and potential bug 2011-03-20 19:47:58 +01:00
dsp563xx_once.h - add parameter flush to the once api to signalize if the jtag queue need to be flushed after the command 2011-02-15 20:20:00 +01:00
dsp5680xx.c dsp5680xx - indent fix 2011-12-11 18:40:01 +00:00
dsp5680xx.h dsp5680xx - indent fix 2011-12-11 18:40:01 +00:00
embeddedice.c retire ERROR_INVALID_ARGUMENTS and replace with ERROR_COMMAND_SYNTAX_ERROR 2012-01-04 17:13:46 +00:00
embeddedice.h types: write memory now uses const 2011-04-01 08:59:07 +02:00
etb.c etb: fix incorrect previous patchset 2011-08-01 17:16:10 +01:00
etb.h ETM trigger_percent becomes an ETB command 2009-12-19 13:06:46 -08:00
etm.c cmd: add missing usage vars 2012-01-18 21:45:02 +00:00
etm.h warnings: use more 'const' for char * 2010-12-29 22:07:39 +01:00
etm_dummy.c ARM ETM/ETB/trace: help/usage updates 2010-01-07 15:22:41 -08:00
etm_dummy.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
fa526.c arm7/9: remove unused post_restore_context 2010-03-17 07:40:00 +01:00
feroceon.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
image.c retire ERROR_INVALID_ARGUMENTS and replace with ERROR_COMMAND_SYNTAX_ERROR 2012-01-04 17:13:46 +00:00
image.h image: fix spelling mistake 2010-09-27 16:29:51 +02:00
mips32.c cmd: add missing usage vars 2012-01-18 21:45:02 +00:00
mips32.h mips32: Sync Caches to Make Instr Writes Effective 2011-08-09 23:17:28 +02:00
mips32_dmaacc.c nit: do not add \n at end of LOG_ERROR 2011-01-05 21:46:12 +01:00
mips32_dmaacc.h TARGET/MIPS32_DMAACC: review scope of functions 2010-04-11 01:03:53 +08:00
mips32_pracc.c warning fix: remove senseless assignment before bailing out of fn w/error 2011-10-31 21:12:30 +00:00
mips32_pracc.h mips32: Added CP0 coprocessor R/W routines 2011-08-09 23:17:28 +02:00
mips_ejtag.c mips: fixup fastdata 2011-06-01 07:23:42 +02:00
mips_ejtag.h mips: fixup fastdata 2011-06-01 07:23:42 +02:00
mips_m4k.c cmd: add missing usage vars 2012-01-18 21:45:02 +00:00
mips_m4k.h mips32: Added CP0 coprocessor R/W routines 2011-08-09 23:17:28 +02:00
oocd_trace.c cmd: add missing usage vars 2012-01-18 21:45:02 +00:00
oocd_trace.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
register.c change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
register.h warnings: use more 'const' for char * 2010-12-29 22:07:39 +01:00
smp.c remove target argument from gdb packet handling functions 2011-08-24 17:41:35 +02:00
smp.h remove target argument from gdb packet handling functions 2011-08-24 17:41:35 +02:00
startup.tcl config: add init_targets proc that is executed just before init 2010-12-22 17:44:22 +01:00
stm32_stlink.c STLINK: swd transport renamed and jtag+swim transport added 2012-01-27 19:25:26 +00:00
target.c target: increase chunk size in dump_image 2012-01-30 19:09:53 +00:00
target.h target: add async algorithm entries to the target type 2011-10-09 00:00:52 +02:00
target_request.c cmd: add missing usage var 2012-01-12 20:45:01 +00:00
target_request.h target_request: add target_got_message() that can be used to improve DCC performance 2011-10-17 12:32:38 +00:00
target_type.h target: add async algorithm entries to the target type 2011-10-09 00:00:52 +02:00
testee.c target: further shrink Jim-awareness 2009-12-13 12:52:23 -08:00
trace.c command: print BUG warning when usage is missing 2012-01-04 17:13:03 +00:00
trace.h error number: review 2010-06-23 07:55:43 +02:00
xscale.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
xscale.h cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00