On Wed, May 6, 2009 at 11:50 AM, Laurent Gauch
<laurent.ga...@amontec.com> wrote:
>
> Ųyvind Harboe wrote:
>>
>> On Wed, May 6, 2009 at 11:10 AM, Laurent Gauch
>> <laurent.ga...@amontec.com> wrote:
>>
>>>
>>> Yes it could. But giving this out_mask info to the low layer JTAG API can
>>> really help to accelerate the JTAG interface itself and accelerating the
>>> OpenOCD by the way.
>>>
>>
>> This is an extraordinary claim that I do not accept at face value.
>>
>
> extraordinary ?
> When we created the OpenOCD JTAG API (Dominic and I at Amontec in 2005
> before any SVN server, any forum ...), we was thinking to provide an
> extensible JTAG layer to OpenOCD allowing to accelerate the JTAG Layer
> Interface! The _mask could be a very important information to have in the
> Low Layer JTAG interface.

There is not a lot of techincal specifics in your post for me to comment on.

I claim to be pretty much up to speed on the original design ideas.

I also get the impression that you didn't look much at the patch:

Clearly we can reintroduce these constructs without complicating the
normal method invocations by creating helper functions on top of some
future lower level drivers.

What the patch fixes is that 99% of the invocation sites are more
straightforward.

If these sort of optimisations were attempted in the drivers, then there
*would* be changes done to the JTAG API and driver APIs. I even
believe that we are *better* positioned now to attack such optimisation
problems if we don't have lots of old cruft to releate to.


-- 
Øyvind Harboe
Embedded software and hardware consulting services
http://consulting.zylin.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to