[Xenomai-core] rtdm_iomap_to_user() with PowerPC

2007-09-06 Thread Markus Osterried (BA/EDD)
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);

Re: [Xenomai-core] rtdm_iomap_to_user() with PowerPC

2007-09-06 Thread Jan Kiszka
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,