Re: Interrupt-Handling in User Space

From: Alan Cox
Date: Sat May 05 2007 - 17:56:33 EST


> afaics there is no mechanism in the official kernel tree to handle
> interrupts in user space yet. I'd need that for an embedded project I'm

Its basically not possible to do with most hardware because you get
deadlocks when there are shared interrupts.

However see drivers/uio in the current GIT tree (or recent -mm kernels),
that assumes you write a truely minimal IRQ handler/board driver in the
kernel and it then exposes the memory spaces and IRQ stream to user space.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/