1PHYS_TO_VIRT(9)            Public Functions Provided           PHYS_TO_VIRT(9)
2
3
4

NAME

6       phys_to_virt - map physical address to virtual
7

SYNOPSIS

9       void * phys_to_virt(phys_addr_t address);
10

ARGUMENTS

12       address
13           address to remap
14

DESCRIPTION

16       The returned virtual address is a current CPU mapping for the memory
17       address given. It is only valid to use this function on addresses that
18       have a kernel mapping
19
20       This function does not handle bus mappings for DMA transfers. In almost
21       all conceivable cases a device driver should not be using this function
22

AUTHORS

24       Matthew Wilcox <matthew@wil.cx>
25           Author.
26
27       Alan Cox <alan@lxorguk.ukuu.org.uk>
28           Author.
29
31Kernel Hackers Manual 3.10         June 2019                   PHYS_TO_VIRT(9)
Impressum