openocd/src/target
David Brownell 64934d9204 ETM: more ETM_CTRL bit cleanup
Change handling of the CYCLE_ACCURATE, BRANCH_OUTPUT, and
TRACE_* flags; also the CONTEXTID size values.

 - Convert to symbols matching the actual register bits, instead of
   some random *other* bits (and then correcting that abuse).

 - Get rid of a now-needless enum.

 - Keep those values in etm->control, and remove etm->tracemode.

These values all affect the trace data that's recorded by a trace
pod or in the ETB.  I modified the file format used to dump ETB
data; since it's fairly clear nobody can use this mechanism now,
this can't cause anyone trouble.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-19 13:07:26 -08: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
algorithm.c change #include "binarybuffer.h" to <helper/binarybuffer.h> 2009-12-03 04:22:17 -08:00
algorithm.h target: don't implicitly include "algorithm.h" 2009-11-16 00:35:05 -08:00
arm_adi_v5.c change #include "time_support.h" to <helper/time_support.h> 2009-12-03 04:22:52 -08:00
arm_adi_v5.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm_disassembler.c ARM: disassemble STM correctly 2009-12-14 19:53:10 -08:00
arm_disassembler.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
arm_dpm.c ARM DPM: support updating HW breakpoints 2009-12-11 15:26:10 -08:00
arm_dpm.h ARM DPM: support updating HW breakpoints 2009-12-11 15:26:10 -08:00
arm_jtag.c embedded hosts: optimize common code path for core arm operations 2009-12-11 09:17:23 +01:00
arm_jtag.h embedded hosts: optimize common code path for core arm operations 2009-12-11 09:17:23 +01:00
arm_opcodes.h ARM: update arm_opcodes.h copyright 2009-12-09 21:43:23 -08:00
arm_semihosting.c ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
arm_semihosting.h ARM: remove semihosting globals 2009-12-04 16:51:48 -08:00
arm_simulator.c ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
arm_simulator.h ARM: rename armv4_5_state_* as arm_state_* 2009-12-04 19:39:25 -08:00
arm.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm7_9_common.c target: remove more exit() calls 2009-12-08 13:09:38 -08:00
arm7_9_common.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm7tdmi.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
arm7tdmi.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm9tdmi.c target: move 'extern' decls to *.h files 2009-12-08 13:06:41 -08:00
arm9tdmi.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm11_dbgtap.c ARM11: avoid pointless status returns 2009-12-11 20:55:12 -08:00
arm11_dbgtap.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm11.c ARM11: improved reset support 2009-12-14 19:56:36 -08:00
arm11.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm720t.c ARM: don't clone arm_arch_state() code 2009-12-07 14:57:44 -08:00
arm720t.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm920t.c ARM: don't clone arm_arch_state() code 2009-12-07 14:57:44 -08:00
arm920t.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm926ejs.c ARM: don't clone arm_arch_state() code 2009-12-07 14:57:44 -08:00
arm926ejs.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm966e.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
arm966e.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -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 change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
armv4_5_mmu.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
armv4_5.c target: add debug_reason_name() 2009-12-07 14:57:44 -08:00
armv4_5.h ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
armv7a.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
armv7a.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
armv7m.c target: add debug_reason_name() 2009-12-07 14:57:44 -08:00
armv7m.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
avrt.c use ARRAY_SIZE macro 2009-11-25 10:32:00 -08:00
avrt.h change #include "jtag.h" to <jtag/jtag.h> 2009-12-03 04:24:33 -08:00
breakpoints.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
breakpoints.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
cortex_a8.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
cortex_a8.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
cortex_m3.c target: move 'extern' decls to *.h files 2009-12-08 13:06:41 -08:00
cortex_m3.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
dsp563xx_once.c target: add basic dsp563xx support 2009-12-15 18:38:52 +01:00
dsp563xx_once.h target: add basic dsp563xx support 2009-12-15 18:38:52 +01:00
dsp563xx.c dsp563xx: cygwin build fixes 2009-12-18 03:08:49 -08:00
dsp563xx.h target: add basic dsp563xx support 2009-12-15 18:38:52 +01:00
embeddedice.c Comment and doxygen fixes 2009-12-09 10:25:52 -08:00
embeddedice.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
etb.c ETM: start cleaning up ETM_CTRL bit handling 2009-12-19 13:07:25 -08:00
etb.h ETM trigger_percent becomes an ETB command 2009-12-19 13:06:46 -08:00
etm_dummy.c ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
etm_dummy.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
etm.c ETM: more ETM_CTRL bit cleanup 2009-12-19 13:07:26 -08:00
etm.h ETM: more ETM_CTRL bit cleanup 2009-12-19 13:07:26 -08:00
fa526.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
feroceon.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
image.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
image.h change #include "fileio.h" to <helper/fileio.h> 2009-12-03 04:22:51 -08:00
Makefile.am target: add basic dsp563xx support 2009-12-15 18:38:52 +01:00
mips_ejtag.c use ARRAY_SIZE macro 2009-11-25 10:32:00 -08:00
mips_ejtag.h change #include "jtag.h" to <jtag/jtag.h> 2009-12-03 04:24:33 -08:00
mips_m4k.c remove target_type register_command callback 2009-11-24 21:37:36 -08:00
mips_m4k.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
mips32_dmaacc.c mips_ejtag_t -> struct mips_ejtag 2009-11-13 11:58:11 -08:00
mips32_dmaacc.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
mips32_pracc.c use ARRAY_SIZE macro 2009-11-25 10:32:00 -08:00
mips32_pracc.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
mips32.c target: add debug_reason_name() 2009-12-07 14:57:44 -08:00
mips32.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
oocd_trace.c target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08: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 target: make register flags "bool" 2009-11-22 10:27:29 -08:00
startup.tcl improve startup tcl scripts 2009-11-24 21:37:29 -08:00
target_request.c target: further shrink Jim-awareness 2009-12-13 12:52:23 -08:00
target_request.h #include "target.h" less wildly 2009-11-16 00:35:24 -08:00
target_type.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
target.c target: add basic dsp563xx support 2009-12-15 18:38:52 +01:00
target.h target: further shrink Jim-awareness 2009-12-13 12:52:23 -08:00
testee.c target: further shrink Jim-awareness 2009-12-13 12:52:23 -08:00
trace.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
trace.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
xscale.c XScale: better {read,write}_phys() 2009-12-18 09:53:59 -08:00
xscale.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00