Getting physical address of memory allocated by vmalloc()
Dave Hylands
dhylands at gmail.com
Fri Oct 21 03:53:22 EDT 2011
Hi Jacky,
On Oct 20, 2011 6:32 PM, "Jacky Lam" <lamshuyin at gmail.com> wrote:
>
> Hi,
>
> Is there any generic way to get the physical address of memory
> (first page) allocated by vmalloc()?
PFN_PHYS( vmalloc_to_pfn( address ))
--
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111021/2ca4a125/attachment.html
More information about the Kernelnewbies
mailing list