On Saturday 05 July 2008 21:57:10 Michael Buesch wrote: > There's one little thing that's a little bit strange. I think > it comes from my limited understanding of the realtime stuff, however. > If the GPIO chip driver does use spin_unlock_irqrestore in the GPIO port > write and read handlers, it will cause an exception in the realtime thread.
Ok, I read some docs. This is caused by rtapi using RTAI-tasks. So I'll probably create a HAL patch that lets you add callback functions run in realtime kthread context. So well, best to not apply this driver to trunk, yet, as it neither runs on the currently used kernel nor does it work correctly without hacking the GPIO HW drivers. :) -- Greetings Michael. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers