Section: LINUX (9)
Updated: August 2005
Return to Main Contents
virt_to_phys - map virtual addresses to physical
- unsigned long virt_to_phys (volatile void * address);
address to remap
The returned physical address is the physical (CPU) mapping for the memory address given. It is only valid to use this function on addresses directly mapped or allocated via kmalloc.
This function does not give bus mappings for DMA transfers. In almost all conceivable cases a device driver should not be using this function
Matthew Wilcox <firstname.lastname@example.org>, Alan Cox <email@example.com>.
This document was created by
using the manual pages.
Time: 00:30:30 GMT, August 30, 2005