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. I would like to use create_proc_entry() with remap_pfn_range() 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? ;-)
Yes, this is been done in kernel-mode, and as far as i know, mmap should be supported.
My problem is: how can i "bind" the file to the mmap-functions? In user-mode this could be done by mmap()-call, but in kernel-mode there is no such function (or it is unknown by me).