phys_to_virt(9)

phys_to_virt9

Map physical address to virtual

Usage

void * phys_to_virt(phys_addr_t address);

Arguments

address

address to remap

Overview

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 mapping

This function does not handle bus mappings for DMA transfers. In almost all conceivable cases a device driver should not be using this function

Releases

5 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 7
  4. 8
  5. 9

Authors

Matthew Wilcox <[email protected]>

Author.

Alan Cox <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.