Is there any way for user space program to get IRQ from kernel space?
Hi,
I am sure that user space program can't install ISR or get IRQ from hardware directly. I'd like to know there is any way a user space program to get waked up by a specific hardware IRQ.
I am developing some applications that use IRQ on MPC8260 board.
thanks.
willy.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 6 lines
Hi,
I am sure that user space program can't install ISR or get IRQ from hardware directly. I'd like to know there is any way a user space program to get waked up by a specific hardware IRQ.
Create a character device which implements the poll() method,, and use select() in userspace.
Alex
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/