summaryrefslogtreecommitdiff
path: root/src/jtag
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-06 06:40:56 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-06 06:40:56 +0000
commit213368e21f892a4c6df80cbdae1a163df36c1d51 (patch)
treed9f8ccce1eb6fba55759c8f59227dc90bd8fcfdf /src/jtag
parent4d88c124b1262a738b4a9f107ef62404a45bf323 (diff)
downloadopenocd_libswd-213368e21f892a4c6df80cbdae1a163df36c1d51.tar.gz
openocd_libswd-213368e21f892a4c6df80cbdae1a163df36c1d51.tar.bz2
openocd_libswd-213368e21f892a4c6df80cbdae1a163df36c1d51.tar.xz
openocd_libswd-213368e21f892a4c6df80cbdae1a163df36c1d51.zip
add warnings about not using in_handler
git-svn-id: svn://svn.berlios.de/openocd/trunk@1609 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag')
-rw-r--r--src/jtag/jtag.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index 0699516c..9bc3fe82 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -273,9 +273,9 @@ typedef struct scan_field_s
u8* out_value; /* value to be scanned into the device */
u8* in_value; /* pointer to a 32-bit memory location to take data scanned out */
/* in_check_value/mask, in_handler_error_handler, in_handler_priv can be used by the in handler, otherwise they contain garbage */
- u8* in_check_value; /* used to validate scan results */
- u8* in_check_mask; /* check specified bits against check_value */
- in_handler_t in_handler; /* process received buffer using this handler */
+ u8* in_check_value; /* deprecated! only used from jtag_set_check_value. used to validate scan results */
+ u8* in_check_mask; /* deprecated! only used from jtag_set_check_value. check specified bits against check_value */
+ in_handler_t in_handler; /* deprecated! DO NOT USE! process received buffer using this handler */
void* in_handler_priv; /* additional information for the in_handler */
} scan_field_t;
@@ -580,10 +580,10 @@ extern int interface_jtag_add_tlr(void);
* of the same interface over time. Even if the OpenOCD code
* is unchanged, the actual path taken may vary over time
* and versions of interface firmware or PCB revisions.
- *
+ *
* Use jtag_add_pathmove() when specific transition sequences
* are required.
- *
+ *
* Do not use jtag_add_pathmove() unless you need to, but do use it
* if you have to.
*