diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-16 20:09:07 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-16 20:09:07 +0000 |
commit | 231a71b7fba9277aaa7772a78788ebded3253b47 (patch) | |
tree | debdbe174dab15465c6fe48d1653736e91e384a3 /src/jtag/vsllink.c | |
parent | 1bcbd44ed3a3165f1845b9da1f8c282321fe5988 (diff) | |
download | riscv-openocd-231a71b7fba9277aaa7772a78788ebded3253b47.zip riscv-openocd-231a71b7fba9277aaa7772a78788ebded3253b47.tar.gz riscv-openocd-231a71b7fba9277aaa7772a78788ebded3253b47.tar.bz2 |
Michael Bruck <mbruck@digenius.de> change 'ir_scan' from 'int' to 'bool' to document its semantics
git-svn-id: svn://svn.berlios.de/openocd/trunk@1800 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/vsllink.c')
-rw-r--r-- | src/jtag/vsllink.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jtag/vsllink.c b/src/jtag/vsllink.c index 9a52af3..57f69bc 100644 --- a/src/jtag/vsllink.c +++ b/src/jtag/vsllink.c @@ -204,9 +204,9 @@ static void vsllink_runtest(int num_cycles); static void vsllink_stableclocks_dma(int num_cycles, int tms); static void vsllink_stableclocks_normal(int num_cycles, int tms); static void (*vsllink_stableclocks)(int num_cycles, int tms); -static void vsllink_scan_dma(int ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command); -static void vsllink_scan_normal(int ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command); -static void (*vsllink_scan)(int ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command); +static void vsllink_scan_dma(bool ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command); +static void vsllink_scan_normal(bool ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command); +static void (*vsllink_scan)(bool ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command); static void vsllink_reset(int trst, int srst); static void vsllink_simple_command(u8 command); static int vsllink_connect(void); @@ -1189,7 +1189,7 @@ static void vsllink_runtest(int num_cycles) } } -static void vsllink_scan_normal(int ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command) +static void vsllink_scan_normal(bool ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command) { tap_state_t saved_end_state; u8 bits_left, tms_tmp, tdi_len; @@ -1305,7 +1305,7 @@ static void vsllink_scan_normal(int ir_scan, enum scan_type type, u8 *buffer, in tap_set_state(tap_get_end_state()); } -static void vsllink_scan_dma(int ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command) +static void vsllink_scan_dma(bool ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command) { tap_state_t saved_end_state; |