Re: Getting DMA and IRQ in userspace program

Hans Lermen (lermen@elserv.ffm.fgan.de)
Fri, 11 Jul 1997 01:39:13 +0200 (MET DST)


On Thu, 10 Jul 1997, Teunis Peters wrote:

> I suppose this is kind of a silly request, but I need access to hardware
> IRQ's (at least) if not also DMA on hardware devices.

IRQ-passing is part of the dosemu-support in the kernel. However, you may
use it also in any other userspace program. You must be root to register
an IRQ, but after this you may drop priviledges.
Have a look at linux/arch/i386/kernel/vm86.c and at the dosemu source.

Hans
<lermen@fgan.de>