Re: Probs with PCI bus master DMA to user space

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Feb 20 2001 - 07:37:21 EST


> I'm currently writing a driver which wants to transfer data between main
> memory and a PCI device. The data buffers are allocated by the program
> which uses the driver and therefore lie in the user space. Pointers to

Allocate the buffers in the kernel and mmap() them into user space
-
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/



This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:22 EST