1VM_IOMAP_MEMORY(9)        Memory Management in Linux        VM_IOMAP_MEMORY(9)
2
3
4

NAME

6       vm_iomap_memory - remap memory to userspace
7

SYNOPSIS

9       int vm_iomap_memory(struct vm_area_struct * vma, phys_addr_t start,
10                           unsigned long len);
11

ARGUMENTS

13       vma
14           user vma to map to
15
16       start
17           start of area
18
19       len
20           size of area
21

DESCRIPTION

23       This is a simplified io_remap_pfn_range for common driver use. The
24       driver just needs to give us the physical memory range to be mapped,
25       we´ll figure out the rest from the vma information.
26
27       NOTE! Some drivers might want to tweak vma->vm_page_prot first to get
28       whatever write-combining details or similar.
29
31Kernel Hackers Manual 2.6.         June 2019                VM_IOMAP_MEMORY(9)
Impressum