table of contents
other versions
- jessie 3.16.56-1+deb8u1
VM_IOMAP_MEMORY(9) | Memory Management in Linux | VM_IOMAP_MEMORY(9) |
NAME¶
vm_iomap_memory - remap memory to userspaceSYNOPSIS¶
int
vm_iomap_memory(struct vm_area_struct * vma,
phys_addr_t start,
unsigned long len);
ARGUMENTS¶
vmauser vma to map to
start
start of area
len
size of area
DESCRIPTION¶
This is a simplified io_remap_pfn_range for common driver use. The driver just needs to give us the physical memory range to be mapped, we'll figure out the rest from the vma information. NOTE! Some drivers might want to tweak vma->vm_page_prot first to get whatever write-combining details or similar.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |