remap_pfn_range — remap kernel memory to userspace
int remap_pfn_range
(struct vm_area_struct * vma, unsigned long addr, unsigned long pfn, unsigned long size, pgprot_t prot);
user vma to map to
target user address to start at
physical address of kernel memory
size of map area
page protection flags for this mapping
this is only safe if the mm semaphore is held when called.