On 01/04/2011 13:53, Øyvind Harboe wrote:
A bit further down:
if (t != NULL)
free(t);
OK, I see. That's good for write. But for mips_m4k_read_memory() we
have to byte-swap directly buffer, right ?
Yes, and for read it's OK as you're supposed to modify the buffer passed in.
Hm... I thought I saw in the patches that you removed some
keep_alive() from the OpenOCD code... Maybe that give us a little
speed up ? I do not, know that was just an impression, maybe it is not
true - I did not do the benchmarking.
keep_alive() could also explain it, yes.
last time i benchmarked the mips code removing the keep_alive made no
change - only tested flash programming.
Cheers
Spen
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development