Hello,
I want to use rtdm_iomap_to_user() to map our device registers to user
space.
But this doesn't work, our application just crashes when I read from the
mapped registers.
When I insert the line
vma-vm_page_prot = phys_mem_access_prot(filp,
paddrPAGE_SHIFT, size, vma-vm_page_prot);
Markus Osterried (BA/EDD) wrote:
Hello,
I want to use rtdm_iomap_to_user() to map our device registers to user
space.
But this doesn't work, our application just crashes when I read from the
mapped registers.
When I insert the line
vma-vm_page_prot = phys_mem_access_prot(filp,