In the BSD/sysV world I can create an mmap() call as part of a
character driver. What I'm looking for is the code I need to put in the
kernel function. Do I have to perform the mapping myself? In a BSD
devname_mmap(), all I do is return a page pointer relative to the base
address of the device. Higher-level mmap() kernel functions take care
of the actual mapping.
I've looked through the source tree and I don't see any example
code.
The KHG says that it'll eventually add a pointer to the "new VMM"
stuff. I can't find anything on that in my docs.
Any pointers would be appreciated.
I'm using 1.2.11.
-- Bob Felderman feldy@myri.com