Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 1996 14:01:51 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        hasty@rah.star-gate.com (Amancio Hasty)
Cc:        hackers@freebsd.org, multimedia@freebsd.org
Subject:   Re: mmap problems?
Message-ID:  <199612182101.OAA10384@phaeton.artisoft.com>
In-Reply-To: <199612180937.BAA03625@rah.star-gate.com> from "Amancio Hasty" at Dec 18, 96 01:37:12 am

next in thread | previous in thread | raw e-mail | index | archive | help
> I have an old program "tv" which used to work okay. 
> 
>   frame_size = 38896;
>         if ((video = open("/dev/meteor0", O_RDONLY)) < 0) {
>                 fprintf(stderr, "open failed: %s\n", strerror(errno));
>                 exit(1);
>         }
> 
> After running the program several times, tv exits with a a memory access
> violation. It  looks like the system is not
> giving me access to the last page of the frame buffer. Any hints?

Look at the meteor driver; the page range limitation is imposed at
that level.


					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?199612182101.OAA10384>