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

NAME

6       remap_pfn_range - remap kernel memory to userspace
7

SYNOPSIS

9       int remap_pfn_range(struct vm_area_struct * vma, unsigned long addr,
10                           unsigned long pfn, unsigned long size,
11                           pgprot_t prot);
12

ARGUMENTS

14       vma
15           user vma to map to
16
17       addr
18           target user address to start at
19
20       pfn
21           physical address of kernel memory
22
23       size
24           size of map area
25
26       prot
27           page protection flags for this mapping
28

NOTE

30       this is only safe if the mm semaphore is held when called.
31
33Kernel Hackers Manual 3.10         June 2019                REMAP_PFN_RANGE(9)
Impressum