LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   mmap with /proc-file in kernel-mode (https://www.linuxquestions.org/questions/programming-9/mmap-with-proc-file-in-kernel-mode-840756/)

ubfree 10-27-2010 09:55 AM

mmap with /proc-file in kernel-mode
 
Hi there,

I have troubles with mmapping a created /proc-file in the kernel-mode. The file-creation is working fine, and I have written all the needed functions like in book "Linux device drivers" described.

But I can't get no entry point from the init-function to the other functions. In other words: mmap isn't even executed. Does anyone know, how this should work? Am I blind or dumb? ;-)

Edit: I would like to use create_proc_entry() with remap_pfn_range(). Can someone please give me a hint?


All times are GMT -5. The time now is 11:50 AM.