other versions
- stretch 4.9.168-1
PHYS_TO_VIRT(9) | Public Functions Provided | PHYS_TO_VIRT(9) |
NAME¶
phys_to_virt - map physical address to virtualSYNOPSIS¶
void * phys_to_virt(phys_addr_t address);
ARGUMENTS¶
addressaddress to remap
DESCRIPTION¶
The returned virtual address is a current CPU mapping for the memory address given. It is only valid to use this function on addresses that have a kernel mappingThis function does not handle bus mappings for DMA transfers. In almost all conceivable cases a device driver should not be using this function
AUTHORS¶
Matthew Wilcox <matthew@wil.cx>Author.
Alan Cox <alan@lxorguk.ukuu.org.uk>
Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |