I would like to remove the num_fields & fields argument and
add length, in bits and out bits.

Unless I hear any objections, I'll go ahead and do this eventually.

So from:

jtag_add_plain_dr_scan(int in_num_fields, const struct scan_field
*in_fields, tap_state_t state)

to:

jtag_add_plain_dr_scan(int bits, const uint_t8 *out, const_uint8_t
*in, tap_state_t state)

Where out and in can not be NULL. out and in can point to the same memory.
Allowing NULL here would just complicate the implementation and none
of the call sites would exercise such a path.


-- 
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to