X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fxsvf%2Fxsvf.c;h=3fe2c0fd5317ba0393ec478904daaf573827a361;hp=e0756b5032615db7123bc3a4557b5af1f495708a;hb=98723c4ecdbe06f90c66f3abec27b792c3b38e34;hpb=cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c index e0756b5032..3fe2c0fd53 100644 --- a/src/xsvf/xsvf.c +++ b/src/xsvf/xsvf.c @@ -217,7 +217,7 @@ COMMAND_HANDLER(handle_xsvf_command) additional devices in the scan chain, otherwise the device that should be affected */ - jtag_tap_t *tap = NULL; + struct jtag_tap *tap = NULL; if (argc < 2) { @@ -445,7 +445,7 @@ COMMAND_HANDLER(handle_xsvf_command) for (attempt = 0; attempt < limit; ++attempt) { - scan_field_t field; + struct scan_field field; if (attempt > 0) { @@ -692,7 +692,7 @@ COMMAND_HANDLER(handle_xsvf_command) do_abort = 1; else { - scan_field_t field; + struct scan_field field; field.tap = tap; field.num_bits = bitcount; @@ -924,7 +924,7 @@ COMMAND_HANDLER(handle_xsvf_command) for (attempt = 0; attempt < limit; ++attempt) { - scan_field_t field; + struct scan_field field; result = svf_add_statemove(loop_state); jtag_add_clocks(loop_clocks); @@ -1050,7 +1050,7 @@ COMMAND_HANDLER(handle_xsvf_command) return ERROR_OK; } -int xsvf_register_commands(struct command_context_s *cmd_ctx) +int xsvf_register_commands(struct command_context *cmd_ctx) { register_command(cmd_ctx, NULL, "xsvf", &handle_xsvf_command, COMMAND_EXEC,