Messages in this thread | | | From | Peter Chubb <> | Date | Mon, 17 Nov 2003 15:34:12 +1100 | Subject | Re: Userspace DMA |
| |
>>>>> "Andrew" == Andrew Miklas <public@mikl.as> writes:
Andrew> Hi, Is there an accepted way of doing userspace DMA with Andrew> Linux?
I'm currently working on a framework for user-space device drivers, that allow suitably privileged user-space programs to set up and tear down dma regions -- essentially exposing pci_alloc_consistent and pci_{un}map_sg to userspace -- and also to handle interrupts in user space. The framework is implemented as a pair of filesystems, one for interrupts (actually, I hijack /proc/interrupts/*) and one for mappings --- mainly to allow easy cleanup when the userspace program dies.
It's not yet in a fit state to release, but contact me offline if you'd like a copy.
-- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au The technical we do immediately, the political takes *forever*
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |