This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: flags question




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]