LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Interrupts (https://www.linuxquestions.org/questions/programming-9/interrupts-653/)

rhcohen 01-22-2001 02:30 PM

I am installing interrupts in a device driver. The ISR schedules a task in a task queue. From that task I want a callback to a user function. Since the driver and task are running in kernel mode how can they call a function running in user space?

theheapWalker 12-20-2017 04:45 AM

looks like you could do with a quick read through operating systems: internals and design principles by William Stallings. There might be something in it about Unix. I was thinking of reading it myself, it might not be in print anymore.

I hope this post is of help to some-one. considering the threads age.

syg00 12-20-2017 05:12 AM

Yet more evidence old threads should be locked.

jeremy ?.

sundialsvcs 12-21-2017 07:52 AM

But it's kinda disappointing that this "necro-post" never did get an answer, way back then. It's an interesting question with a not-quite trivial answer that I won't go into now.

dugan 12-21-2017 11:17 AM

There are good reasons to reply to old threads with new information. "Read a book that I haven't read myself and that I don't know is even available anymore" is not one of them.

NevemTeve 12-21-2017 11:25 AM

Nonetheless, it would be good to know what platform the OP had in mind.


All times are GMT -5. The time now is 08:42 AM.