]> git.sur5r.net Git - openocd/blobdiff - src/jtag/bitq.c
jlink: use register_commands()
[openocd] / src / jtag / bitq.c
index ee7a073abbd9e066fd35f60dadfd0295761163b1..74555d2bc497d2c1486c104784c37f91571289b9 100644 (file)
@@ -29,7 +29,7 @@ struct bitq_interface* bitq_interface;       /* low level bit queue interface */
 
 /* state of input queue */
 struct bitq_state {
-       jtag_command_t *cmd; /* command currently processed */
+       struct jtag_command *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 */
@@ -178,7 +178,7 @@ void bitq_state_move(tap_state_t new_state)
 }
 
 
-void bitq_path_move(pathmove_command_t* cmd)
+void bitq_path_move(struct pathmove_command* cmd)
 {
        int i;
 
@@ -290,7 +290,7 @@ void bitq_scan(struct scan_command* cmd)
 
 int bitq_execute_queue(void)
 {
-       jtag_command_t* cmd = jtag_command_queue; /* currently processed command */
+       struct jtag_command* cmd = jtag_command_queue; /* currently processed command */
 
        bitq_in_state.cmd = jtag_command_queue;
        bitq_in_state.field_idx = 0;