Userspace IRQ

From embeddedTS Manuals
Revision as of 14:10, 9 January 2012 by Mark (talk | contribs) (Created page with "We include a userspace IRQ patch in our 2.6 based kernels. This allows you to receive interrupts from your applications where you would normally have to write a kernel driver...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

We include a userspace IRQ patch in our 2.6 based kernels. This allows you to receive interrupts from your applications where you would normally have to write a kernel driver. This works by creating a file for each interrupt in '/proc/irq/<irqnum>/irq'. The irq file being the new addition of this patch allows you to block on a read on the file until an interrupt fires.

The original patch is documented here.