Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 1996 17:09:47 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        jkh@time.cdrom.com (Jordan K. Hubbard)
Cc:        terry@lambert.org, james@miller.cs.uwm.edu, luigi@labinfo.iet.unipi.it, dufault@hda.com, hackers@FreeBSD.org, hasty@rah.star-gate.com, multimedia@rah.star-gate.com
Subject:   Re: Amancio's tv program with capture!
Message-ID:  <199601240009.RAA18629@phaeton.artisoft.com>
In-Reply-To: <11117.822434134@time.cdrom.com> from "Jordan K. Hubbard" at Jan 23, 96 01:55:34 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > 	mapaddr =  mmap( 0,			/* map here, 0 = don't care*/
> > 			 DEV_MEM_SIZE,		/* device memory window*/
> 
> I think you're still not undertstanding the question here.  mmap()
> works fine.  It is supported by the driver.  We have absolutely no
> problem with using mmap()!
> 
> The problem is getting the MIT-SHM extension to work with it by
> causing the allocation of the share memory region (which client and
> server share) to shadow the frame-buffer.  I don't see anything in
> your example which would address that problem.

The copy has to occur in the client, not in the server.  I think you
can't make the server map your chosen shared memory region, only make
a client map the servers exported memory region.

Please see the other posting.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601240009.RAA18629>