openocd/src/target
David Brownell 7acb2607ff Cortex-M3: DWT cleanup/fixes
Fix the watchpoint error checks, and do them in add(), not later
in set() when it's mostly too late.  Support the full range of
watchpoint sizes (1 to 32K bytes each), and check alignments.

Minor cleanup of DWT access:  shrink lines, use "+" for address
calculations, comment a few issues.  Add debug message reporting
DWT capabilities, matching the message for FBP, and some minor
code and spec review comments.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 01:03:17 -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 Transform 'u32' to 'uint32_t' in src/target 2009-06-18 07:09:35 +00:00
algorithm.h Remove whitespace at end of lines, step 1. 2009-06-23 22:49:23 +00:00
arm_adi_v5.c ARM ADIv5: "dap info" gets more readable 2009-10-26 16:02:45 -07:00
arm_adi_v5.h Magnus Lundin <lundin@mlu.mine.nu>, Oyvind Harboe <oyvind.harboe@zylin.com>, David Brownell <david-b@pacbell.net>: 2009-07-16 00:08:36 +00:00
arm_disassembler.c ARM: fix target address when disassembling Thumb BLX 2009-10-27 19:25:54 -07:00
arm_disassembler.h David Brownell <david-b@pacbell.net>: 2009-07-15 23:39:37 +00:00
arm_jtag.c Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes 2009-07-17 19:54:25 +00:00
arm_jtag.h Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes 2009-07-17 19:54:25 +00:00
arm_simulator.c ARM: fix single-step of Thumb unconditional branch 2009-10-27 19:25:54 -07:00
arm_simulator.h refactor arm simulator to allow arm11 code to use it as well - no observable changes otherwise. 2009-08-27 06:50:36 +00:00
arm7_9_common.c debug interface: get rid of unused pre_debug fn 2009-11-05 09:05:10 +01:00
arm7_9_common.h debug interface: get rid of unused pre_debug fn 2009-11-05 09:05:10 +01:00
arm7tdmi.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
arm7tdmi.h Audit and eliminate redundant #include directives in arm target files. 2009-05-11 04:46:21 +00:00
arm9tdmi.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
arm9tdmi.h arm9tdmi vector_catch: reserved means "don't use" 2009-10-23 12:28:03 -07:00
arm11_dbgtap.c Fix warning. 2009-10-13 12:22:23 +02:00
arm11.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
arm11.h target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
arm720t.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
arm720t.h Transform 'u32' to 'uint32_t' in src/target/arm* 2009-06-18 07:08:52 +00:00
arm920t.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
arm920t.h Paulius Zaleckas <paulius.zaleckas@gmail.com>: 2009-06-19 22:39:35 +00:00
arm926ejs.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
arm926ejs.h Remove whitespace at end of lines, step 1. 2009-06-23 22:49:23 +00:00
arm966e.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
arm966e.h Nicolas Pitre <nico@cam.org> Dragonite support 2009-09-11 08:03:46 +00:00
armv4_5_cache.c Transform 'u32' to 'uint32_t' in src/target/arm* 2009-06-18 07:08:52 +00:00
armv4_5_cache.h Transform 'u32' to 'uint32_t' in src/target/arm* 2009-06-18 07:08:52 +00:00
armv4_5_mmu.c retire obsolete mXY_phys commands. Handled by generic memory read/modify commands and target read/write physical memory callbacks. 2009-10-21 15:36:31 +02:00
armv4_5_mmu.h retire obsolete mXY_phys commands. Handled by generic memory read/modify commands and target read/write physical memory callbacks. 2009-10-21 15:36:31 +02:00
armv4_5.c David Brownell <david-b@pacbell.net> 2009-09-09 06:28:49 +00:00
armv4_5.h mcr/mrc interface work. Implemented for arm926ejs and arm720t. mcr/mrc commands added. 2009-10-23 12:39:00 +02:00
armv7a.c Cleanup: nuke trailling whitespaces 2009-10-13 19:16:57 +02:00
armv7a.h debug interface: get rid of unused pre_debug fn 2009-11-05 09:05:10 +01:00
armv7m.c ARMv7M: add docs, remove exports 2009-11-05 01:02:52 -08:00
armv7m.h ARMv7M: add docs, remove exports 2009-11-05 01:02:52 -08:00
avrt.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
avrt.h Audit and eliminate redundant #include directives in other target files. 2009-05-11 04:56:37 +00:00
breakpoints.c Remove annoying end-of-line whitespace from most src/* 2009-09-21 18:40:55 +00:00
breakpoints.h Add Breakpoint/Watchpoint unique ID to help debug hardware debug register leakage 2009-06-27 17:25:07 +00:00
cortex_a8.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
cortex_a8.h Add DSCR_DTR_RX_FULL bit define 2009-09-30 17:24:43 +00:00
cortex_m3.c Cortex-M3: DWT cleanup/fixes 2009-11-05 01:03:17 -08:00
cortex_m3.h Cortex-M3: remove exports and forward decls 2009-10-28 10:53:11 -07:00
embeddedice.c Embedded ICE version is now dumped with debug_level 1 2009-10-23 12:39:00 +02:00
embeddedice.h Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes 2009-07-17 19:54:25 +00:00
etb.c Minor ETB and ETM bugfixes and doc updates 2009-10-02 09:19:03 +00:00
etb.h ETB: cleanup needless symbol exports and forward decls. 2009-09-29 18:06:26 +00:00
etm_dummy.c Consolidate target selection code into single get_target() that handles both names and numbers. Provided by David Brownell <david-b@pacbell.net> 2009-05-18 04:44:28 +00:00
etm_dummy.h Audit and eliminate redundant #include directives in other target files. 2009-05-11 04:56:37 +00:00
etm.c ETM: rename registers, doc tweaks 2009-10-22 12:01:27 -07:00
etm.h When setting up an ETM, cache its ETM_CONFIG register. Then 2009-09-23 21:52:40 +00:00
fa526.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
feroceon.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
image.c bugfix: stack corruption loading IHex images 2009-10-28 10:24:55 -07:00
image.h bugfix: stack corruption loading IHex images 2009-10-28 10:24:55 -07:00
Makefile.am Improve Makefile rules for XScale debug handler; fixes 'make distcheck'. 2009-10-19 19:59:02 -07:00
mips_ejtag.c microscopic white space fixes 2009-07-16 10:30:50 +00:00
mips_ejtag.h Oleksandr Tymoshenko <gonzo@bluezbox.com> simple watchpoint support 2009-06-25 12:18:07 +00:00
mips_m4k.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
mips_m4k.h Transform 'u32' to 'uint32_t' in src/target 2009-06-18 07:09:35 +00:00
mips32_dmaacc.c Remove whitespace at end of lines, step 1. 2009-06-23 22:49:23 +00:00
mips32_dmaacc.h Transform 'u32' to 'uint32_t' in src/target 2009-06-18 07:09:35 +00:00
mips32_pracc.c Remove whitespace at end of lines, step 1. 2009-06-23 22:49:23 +00:00
mips32_pracc.h Remove whitespace that occurs before ')'. 2009-06-23 22:47:42 +00:00
mips32.c Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes 2009-07-17 19:54:25 +00:00
mips32.h Remove whitespace at end of lines, step 1. 2009-06-23 22:49:23 +00:00
oocd_trace.c - Fixes '+' whitespace 2009-06-23 22:44:17 +00:00
oocd_trace.h Audit and eliminate redundant #include directives in other target files. 2009-05-11 04:56:37 +00:00
register.c Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes 2009-07-17 19:54:25 +00:00
register.h Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes 2009-07-17 19:54:25 +00:00
target_request.c Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes 2009-07-17 19:54:25 +00:00
target_request.h Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes 2009-07-17 19:54:25 +00:00
target_type.h target: add target->type->has_mmu fn. 2009-11-05 09:53:31 +01:00
target.c target: add target->type->has_mmu fn. 2009-11-05 09:53:31 +01:00
target.h target: require working area for physical/virtual addresses to be specified 2009-11-03 11:56:05 +01:00
trace.c Remove whitespace at end of lines, step 1. 2009-06-23 22:49:23 +00:00
trace.h Transform 'u64' to 'uint64_t' 2009-06-18 07:11:40 +00:00
xscale.c target: remove unused interface fn that clutters code 2009-11-05 09:07:56 +01:00
xscale.h xscale: always reload handler after reset 2009-10-25 13:06:47 -07:00