Skip to contentSkip to conversation

Is there any way for user space program to get IRQ from kernel space?

DISCUSSION 김치환 2 participants 2 messages Jan 31, 2004 – Feb 2, 2004

lore
Share & tools
lore

김치환

author
#0 lore raw

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/

#1 lore raw
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/