(Ref. discussion I think we've settled that the minidriver can either
implement an ABI or use inlining for performance.)

On Thu, Dec 3, 2009 at 10:11 AM, Zach Welch <z...@superlucidity.net> wrote:
> On Thu, 2009-12-03 at 09:53 +0100, Øyvind Harboe wrote:
>> So the minidriver (including classic API) must have control over whether or
>> not the following fn's gets inlined or not. These fn's really are in the 
>> inner
>> loops and boil away to *nothing* on a low performance low latency
>> system.
>
> And they should now, after my patches.  I want to see yours again,
> updated against the current master.  :)

I have an automake problem / include file problem I don't know how
to solve in a pretty fashion:

jtag.h needs to include a minidriver_inline.h for the active minidriver.
How to do that?

- I don't want to add "-I" to *all* places that #include "jtag.h" to the
active minidriver

- #include ACTIVE_MINIDRIVER, using a #define?

I don't particularly like the #include "jtag.h" form. Why quotes
rather than angle brackets BTW? Quotes allow including from
the current directory, why should we allow the official jtag.h to
be replaced by a variant local to a source dir? Can't think of
why really.


-- 
Ø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
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to