From 213368e21f892a4c6df80cbdae1a163df36c1d51 Mon Sep 17 00:00:00 2001 From: oharboe Date: Wed, 6 May 2009 06:40:56 +0000 Subject: add warnings about not using in_handler git-svn-id: svn://svn.berlios.de/openocd/trunk@1609 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/jtag/jtag.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/jtag/jtag.h') 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. * -- cgit v1.2.3