]> git.sur5r.net Git - openocd/blobdiff - src/jtag/bitq.h
use struct jtag_tap_event_action
[openocd] / src / jtag / bitq.h
index 15b2d5cf479bf8cb935cb605f7971ab7703a201a..48b47db7a694956ab2d996e31033159a27fad17a 100644 (file)
 
 #include "commands.h"
 
-typedef struct bitq_interface_s
-{
-       /* functions enqueueing low level IO requests
-       */
+struct bitq_interface {
+       // function to enqueueing low level IO requests
        int (*out)(int tms, int tdi, int tdo_req);
        int (*flush)(void);
 
@@ -37,18 +35,9 @@ typedef struct bitq_interface_s
         */
        int (*in_rdy)(void);
        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;
+extern struct bitq_interface *bitq_interface;
 
 int bitq_execute_queue(void);