Will Wagner wrote:


One explanation i can see is if some code is calling setbits from ISR
context. This is illegal.

Thanks for the suggestion. Is there any way of telling if the current context is an ISR rather than thread or DSR?

The short answer is no. I submitted a (rejected) patch a while back. http://sourceware.org/ml/ecos-patches/2004-10/msg00103.html. You can read Nick's response for other solutions. (I am currently using the patch, but it is not in the eCos tree.)

David Brennan


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to