aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/bitq.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 04:00:59 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:04 -0800
commitff3150922b676223ad1acc4bcd127aa9fe03fa31 (patch)
tree2f01c3d5308fcc9f2b58d871a1d0d6d109462cc1 /src/jtag/bitq.h
parentd0809ac060b35a04e7f0bceb96e1868663bd18df (diff)
downloadriscv-openocd-ff3150922b676223ad1acc4bcd127aa9fe03fa31.zip
riscv-openocd-ff3150922b676223ad1acc4bcd127aa9fe03fa31.tar.gz
riscv-openocd-ff3150922b676223ad1acc4bcd127aa9fe03fa31.tar.bz2
encapsulate bitq_state structure
Move the bitq_state structure from the header to source file, as it is used internally. Also removes its silly typedef.
Diffstat (limited to 'src/jtag/bitq.h')
-rw-r--r--src/jtag/bitq.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/jtag/bitq.h b/src/jtag/bitq.h
index 15b2d5c..d0774f1 100644
--- a/src/jtag/bitq.h
+++ b/src/jtag/bitq.h
@@ -39,15 +39,6 @@ typedef struct bitq_interface_s
int (*in)(void);
} bitq_interface_t;
-typedef struct bitq_state_s
-{
- jtag_command_t *cmd; /* command currently processed */
- int field_idx; /* index of field currently being processed */
- int bit_pos; /* position of bit curently being processed */
-
- int status; /* processing status */
-} bitq_state_t;
-
extern bitq_interface_t *bitq_interface;
int bitq_execute_queue(void);