Memory Mapping a char array in User Space
dceravigupta at gmail.com
Tue Jul 27 17:04:04 EST 2010
Thanks for the quick reply. One more thing, in the end I have to memory map
a DMA buffer allocated using pci_alloc_consisten() function to user space.
*> I think you should be leaving the mapping to the core VM routines.*
*> Furthermore, I don't think *you* should be calling remap_pfn_range().*
Let say I have allocated a page using __get_free_pages(). But how would the
core VM routines knows that which page I want to memory map? If possible,
please explain with example.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Linuxppc-dev