Memory Mapping DMA Buffers in User Space
Ravi Gupta
dceravigupta at gmail.com
Tue Jul 27 16:37:36 EST 2010
Hi,
I am new to linux device driver development and I'm trying to learn the
memory mapping. Currently I am trying to memory map a dma buffer allocated
using pci_alloc_consistent() function.
Now what exactly I want is that whenever I map a char device from user space
program, let say /dev/test, internally that DMA buffer gets memory mapped to
the user space? Also what should I pass as the length parameter in the
mmap() function?
Thanks in advance
Ravi Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100727/eb4cde93/attachment-0001.htm>
More information about the Linuxppc-dev
mailing list