summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2007-04-16 14:58:16 +0000
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2007-04-16 14:58:16 +0000
commit04dc98916d9acb57e0f5595534151a24ba4dc684 (patch)
tree3b351f19237f6d15916e392f0304506b48e74b4c /src/target/target.h
parentc62e5b4c233d5ee0bc2066728a5b432f481ad7fe (diff)
downloadopenocd_libswd-04dc98916d9acb57e0f5595534151a24ba4dc684.tar.gz
openocd_libswd-04dc98916d9acb57e0f5595534151a24ba4dc684.tar.bz2
openocd_libswd-04dc98916d9acb57e0f5595534151a24ba4dc684.tar.xz
openocd_libswd-04dc98916d9acb57e0f5595534151a24ba4dc684.zip
- explicitly disable monitor mode on ARM7/9 targets
- added "prepare_reset_halt()" to target_type_t, which allows reset_halt to be prepared before a reset is asserted, possibly preventing communication with the target - arm7/9 devices now use a breakpoint at 0x0 or reset vector catching for debug out of reset git-svn-id: svn://svn.berlios.de/openocd/trunk@141 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/target.h b/src/target/target.h
index d340a778..9ab3d19a 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -110,6 +110,7 @@ typedef struct target_type_s
int (*assert_reset)(struct target_s *target);
int (*deassert_reset)(struct target_s *target);
int (*soft_reset_halt)(struct target_s *target);
+ int (*prepare_reset_halt)(struct target_s *target);
/* target register access for gdb */
int (*get_gdb_reg_list)(struct target_s *target, struct reg_s **reg_list[], int *reg_list_size);