openocd/src/target
Salvador Arroyo d5e564625f mips: m4k alternate pracc code. Patch 3
Functions mips32_pracc_read_mem(), mips32_cp0_read() and mips32_pracc_read_regs() are now modified.
mips32_cp0_read() is very similar to mips32_read_u32() with one store access.
mips32_pracc_read_regs() is the only function that can not be executed from only one queue.
Now this function is modified to use reg8, it saves all the registers but does not restore reg8.
To remedy this, mips_ejtag_config_step() is called after mips32_save_context() in
mips_m4k_debug_entry(). Function mips_ejtag_config_step() is modified to use reg8 and
restore it from ejtag info instead of using DeSave for save/restore.

Change-Id: Icc224f6d7e41abdec94199483401cb512cc0b450
Signed-off-by: Salvador Arroyo <sarroyofdez@yahoo.es>
Reviewed-on: http://openocd.zylin.com/1195
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
2013-04-20 19:32:25 +00:00
..
xscale Remove annoying end-of-line whitespace from most src/* 2009-09-21 18:40:55 +00:00
adi_v5_jtag.c Add abort when JTAG-DP transaction times out. 2013-04-02 15:10:25 +00:00
adi_v5_swd.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
algorithm.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
algorithm.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm_adi_v5.c arm_adi_v5: fix for csw nonsecure access. 2013-04-11 16:06:31 +00:00
arm_adi_v5.h arm_adi_v5: fix for csw nonsecure access. 2013-04-11 16:06:31 +00:00
arm_disassembler.c build: fix clang warnings 2012-08-24 16:51:00 +00:00
arm_disassembler.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
arm_dpm.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm_dpm.h cortex_a : optimize apb read/write access. 2013-03-15 15:50:42 +00:00
arm_jtag.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm_jtag.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm_opcodes.h cortex_a : optimize apb read/write access. 2013-03-15 15:50:42 +00:00
arm_semihosting.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm_semihosting.h ARM: remove semihosting globals 2009-12-04 16:51:48 -08:00
arm_simulator.c build: fix clang warnings 2012-08-24 16:51:00 +00:00
arm_simulator.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
arm.h armv7m: use generic arm::core_mode 2013-02-02 16:21:41 +00:00
arm7_9_common.c arm7_9: Fix broken halfword/byte memory reads 2012-08-29 06:23:47 +00:00
arm7_9_common.h arm7_9: Fix broken halfword/byte memory reads 2012-08-29 06:23:47 +00:00
arm7tdmi.c arm7_9: Fix broken halfword/byte memory reads 2012-08-29 06:23:47 +00:00
arm7tdmi.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm9tdmi.c arm7_9: Fix broken halfword/byte memory reads 2012-08-29 06:23:47 +00:00
arm9tdmi.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm11_dbgtap.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm11_dbgtap.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm11.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
arm11.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm720t.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm720t.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm920t.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm920t.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm926ejs.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm926ejs.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm946e.c arm946e: add icache/dcache manipulation commands. 2012-08-01 21:20:32 +00:00
arm946e.h arm946e: cleanup C0.C cache type reg access 2012-08-01 21:18:37 +00:00
arm966e.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm966e.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
armv4_5_cache.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
armv4_5_cache.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
armv4_5_mmu.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
armv4_5_mmu.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
armv4_5.c armv7m: use generic arm::core_mode 2013-02-02 16:21:41 +00:00
armv4_5.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
armv7a.c arch: Added ARMv7R and Cortex-R4 support 2013-03-15 15:54:05 +00:00
armv7a.h arch: Added ARMv7R and Cortex-R4 support 2013-03-15 15:54:05 +00:00
armv7m.c armv7m: update to use correct register core_cache 2013-02-25 11:57:09 +00:00
armv7m.h armv7m: use generic arm read/write_core_reg 2013-02-02 16:22:12 +00:00
avr32_ap7k.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
avr32_ap7k.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
avr32_jtag.c build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
avr32_jtag.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
avr32_mem.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
avr32_mem.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
avr32_regs.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
avr32_regs.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
avrt.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
avrt.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
breakpoints.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
breakpoints.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
cortex_a.c target: fix broken Cortex-R4 support 2013-03-15 18:00:49 +00:00
cortex_a.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
cortex_m.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
cortex_m.h hla: fix watchpoints not being set 2012-12-23 21:46:02 +00:00
dsp563xx_once.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
dsp563xx_once.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
dsp563xx.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
dsp563xx.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
dsp5680xx.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
dsp5680xx.h doxygen: remove warnings 2012-04-10 12:12:39 +00:00
embeddedice.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
embeddedice.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
etb.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
etb.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
etm_dummy.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
etm_dummy.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
etm.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
etm.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
fa526.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
feroceon.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
hla_target.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
image.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
image.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
Makefile.am target: add deprecated target name support 2012-12-23 21:45:23 +00:00
mips_ejtag.c mips: m4k alternate pracc code. Patch 3 2013-04-20 19:32:25 +00:00
mips_ejtag.h mips: m4k alternate pracc code. Patch 1 2013-04-20 19:32:10 +00:00
mips_m4k.c mips: m4k alternate pracc code. Patch 3 2013-04-20 19:32:25 +00:00
mips_m4k.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
mips32_dmaacc.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
mips32_dmaacc.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
mips32_pracc.c mips: m4k alternate pracc code. Patch 3 2013-04-20 19:32:25 +00:00
mips32_pracc.h mips: m4k alternate pracc code. Patch 3 2013-04-20 19:32:25 +00:00
mips32.c mips: m4k alternate pracc code. Patch 1 2013-04-20 19:32:10 +00:00
mips32.h mips: optimize mips_ejtag_step_disable() code 2012-11-16 12:40:14 +00:00
oocd_trace.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
oocd_trace.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
register.c build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
register.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
smp.c gdbserver: use common hexify/unhexify routines 2013-02-26 20:49:49 +00:00
smp.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
startup.tcl target: enable TARGET_EVENT_EXAMINE_* events 2012-05-21 16:20:07 +00:00
target_request.c target_request: fix warning, do not set local variable to value it already has 2012-03-11 21:12:10 +00:00
target_request.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
target_type.h target: Remove read_memory_imp 2013-03-13 12:36:09 +00:00
target.c target: Retire target_bulk_write_memory() 2013-03-15 15:56:35 +00:00
target.h target: Retire target_bulk_write_memory() 2013-03-15 15:56:35 +00:00
testee.c target: further shrink Jim-awareness 2009-12-13 12:52:23 -08:00
trace.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
trace.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
xscale.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
xscale.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00