On Fri, 2009-06-12 at 21:34 -0700, David Brownell wrote: > Fix most of the polling issues relating to disabled targets: > > - Disable polling while running TAP event handlers ... the handlers > rely on state machine transitions which polling will break. > > - Don't background-poll disabled TAPs ... this was just a bug waiting > to happen. (And then it happened!) > > - Don't fail command line polls of disabled taps; that's not any > kind of error, it's just that you can't do much. > > - Spell "continuous" correctly in the variable name. ;) > > I say "most" issues since (a) there's no interlock between a polling > context and anything else, which may eventually trigger SMP issues; > and (b) this is one of several areas where the jtag and target layers > could stand to interact more cleanly.
This patch makes me twitch: the JTAG layer should not use "target.h". How can we do this without introducing a layering violation? --Z _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development