Is d_mmap used ?
Kamal R. Prasad
kamalpr at gmail.com
Sat Aug 27 13:39:27 GMT 2005
When you mmap() a device, the d_mmap member is used.
eg:- fd = open("/dev/abc", O_RDWR);
my_addr = mmap(fd,...);
regards
-kamal
On 8/27/05, Hans Petter Selasky <hselasky at c2i.net> wrote:
> Hi,
>
>
>
> I'm working on porting "/sys/fs/devfs" to NetBSD, and I noticed that it
> doesn't call "d_mmap" in "struct cdevsw". So is memory mapping of devices in
> "/dev" not supported. Or is "d_mmap" called from somewhere else ?
>
>
>
> --HPS
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
More information about the freebsd-hackers
mailing list