On Sat, Feb 13, 2010 at 10:29 PM, David Brownell <[email protected]> wrote: > On Tuesday 09 February 2010, Ųyvind Harboe wrote: >> This allows minidrivers to e.g. hardware accelerate memory >> writes. >> >> Same trick as is used for arm7/9 dcc writes. >> >> Added error propagation for memory transfer failures in >> code rearrangement. > > These would be a *lot* better as method pointers taken from > a driver struct, instead of a minidriver-specific routines.
There is currently no president for the interface overriding e.g. flash/target specific routines... It would have no impact on performance in this case, but where inlining is needed, it won't work, so you won't get a "pure" method pointers based solution. -- Øyvind Harboe Visit us at Embedded World, March 2nd-4th. IS2T's stand, HALL 10 - 118 http://www.zylin.com/events_embeddedworld.html 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 [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
