jmcmullan@linuxcare.com wrote: > > I'm working on a port of a driver from NT to Linux, and was > wondering how to best go about mapping kernel memory to > user space and vice versa. mmap(2) is a possibility, but would > require a vast rework of the code, and break the ability of > the customer to use their existing code base in NT/95. >
What's the problem with mmap?
You could also call do_mmap() from within your ioctl, but I don't why
you want to do that. (it seems to be a one line change in the user space
app)
--
Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/