diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-11 08:39:49 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-11 08:39:49 +0000 |
commit | 8c77f7c69c7c849412af0ca2ccfbdbd143f95832 (patch) | |
tree | a69ba398a63a1fc29d309e722ac225090d29d559 /src/target/arm7tdmi.c | |
parent | 265b0a9fca4121c1acee8246e88328dd8bd583fd (diff) | |
download | riscv-openocd-8c77f7c69c7c849412af0ca2ccfbdbd143f95832.zip riscv-openocd-8c77f7c69c7c849412af0ca2ccfbdbd143f95832.tar.gz riscv-openocd-8c77f7c69c7c849412af0ca2ccfbdbd143f95832.tar.bz2 |
change jtag_add_callback API to be able to support check_value/mask
git-svn-id: svn://svn.berlios.de/openocd/trunk@1735 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm7tdmi.c')
-rw-r--r-- | src/target/arm7tdmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c index 86a11a3..aea4bab 100644 --- a/src/target/arm7tdmi.c +++ b/src/target/arm7tdmi.c @@ -244,7 +244,7 @@ void arm_endianness(u8 *tmp, void *in, int size, int be, int flip) } } -static int arm7endianness(u8 *in, jtag_callback_data_t size, jtag_callback_data_t be) +static int arm7endianness(u8 *in, jtag_callback_data_t size, jtag_callback_data_t be, jtag_callback_data_t dummy) { arm_endianness(in, in, (int)size, (int)be, 1); return ERROR_OK; @@ -278,7 +278,7 @@ int arm7tdmi_clock_data_in_endianness(arm_jtag_t *jtag_info, void *in, int size, jtag_add_dr_scan(2, fields, TAP_INVALID); - jtag_add_callback3(arm7endianness, in, (jtag_callback_data_t)size, (jtag_callback_data_t)be); + jtag_add_callback4(arm7endianness, in, (jtag_callback_data_t)size, (jtag_callback_data_t)be, NULL); jtag_add_runtest(0, TAP_INVALID); |