Hi, You can try vmap to map the pages into kernel virtual address.
Best regards, MH On Wed, Feb 5, 2014 at 5:18 AM, m silverstri <michael.j.silvers...@gmail.com > wrote: > Hi, > > I need to map an buffer object to kernel address. What should I > buffer is more than 1 page and I want to map the whole buffer to the > kernel address? > > https://www.kernel.org/doc/htmldocs/device-drivers/API-dma-buf-kmap.html > > dma_buf_kmap -- Map a page of the buffer object into kernel address > space. The same restrictions as for kmap and friends apply. > > Thanks. > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies