>> 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.



-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

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