mmap question

Neal Becker (neal@ctd.comsat.com)
Fri, 13 Feb 1998 09:33:30 -0500


I'm interested in a user-space driver for a memory-mapped device. I
looked at the khg example of vgalib. I'm confused.

It does malloc first, then calls mmap passing the malloc'd buffer.
Why? Why doesn't it just do anon mmap of /dev/kmem?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu