> All jtag taps are kept in a linked list, head:
>
>    OLD:        extern jtag_device_t *jtag_devices";
>    NEW:      extern jtag_tap_t *jtag_all_taps;

are you keeping two lists? One list for active and one for
all taps?

> 2) There is a ghost variable (that holds the length of the list)
>    OLD:    extern  int jtag_num_devices;
>    NEW:   extern int jtag_num_taps;

We need this for performance reasons in jtag.c I think.

> I believe all of these should become just a "tap pointer".

sounds great from a performance point of view :-)

> (exception being the "str9xpec" - which fiddles with the list in bad ways).

If we have to break that flash driver and repair it later in the
interest of progress and a clean design, then so be it.
> Comments?

Seems like you're on top of this. If I don't comment on the finer
details, it's because I'm having a hard time keeping up with
you guys :-)

How far are you away from a final plan and when do you think
would be a good time to do this?

-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 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