From 7c63ea77c5858bcd4c74fbf6371e811c52b4adc0 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Mon, 26 Aug 2002 23:03:05 +0000 Subject: [PATCH] Added data_register to instruction. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@114 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- include/jtag/instruction.h | 2 ++ jtag/src/part/instruction.c | 1 + 2 files changed, 3 insertions(+) diff --git a/include/jtag/instruction.h b/include/jtag/instruction.h index 258f5bb7..c96d59f1 100644 --- a/include/jtag/instruction.h +++ b/include/jtag/instruction.h @@ -26,12 +26,14 @@ #define JTAG_INSTRUCTION_H #include +#include typedef struct instruction instruction; struct instruction { char *name; tap_register *value; + data_register *data_register; instruction *next; }; diff --git a/jtag/src/part/instruction.c b/jtag/src/part/instruction.c index 3871564b..d6233656 100644 --- a/jtag/src/part/instruction.c +++ b/jtag/src/part/instruction.c @@ -53,6 +53,7 @@ instruction_alloc( const char *name, int len, const char *val ) } register_init( i->value, val ); + i->data_register = NULL; i->next = NULL; return i;