mmap on freebsd vs linux

2007-04-18 Thread usleepless
Hi All, i am looking into implementing a piece of the V4L interface. this involves mmap'ing from userspace into kernelspace. in mplayer, this is what is called: tvi_v4l2.c: priv-map[i].addr = mmap (0, priv-map[i].buf.length, PROT_READ | PROT_WRITE, MAP_SHARED,

mmap on freebsd vs linux

2007-04-18 Thread Robert Huff
[EMAIL PROTECTED] writes: does mmap work on freebsd as it works on linux? ie: can i mmap any device? are there constraints on the device which should be met? U ... man 2 mmap? Robert Huff ___

Re: mmap on freebsd vs linux

2007-04-18 Thread Danny Pansters
I'm not really an expert on this but here goes... On Wednesday 18 April 2007 18:05:44 [EMAIL PROTECTED] wrote: Hi All, i am looking into implementing a piece of the V4L interface. this involves mmap'ing from userspace into kernelspace. in mplayer, this is what is called: tvi_v4l2.c: