From owner-freebsd-hackers Tue Jan 23 11:27:19 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA10174 for hackers-outgoing; Tue, 23 Jan 1996 11:27:19 -0800 (PST) Received: from Relay1.Austria.EU.net (relay1.Austria.EU.net [192.92.138.47]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA10167 for ; Tue, 23 Jan 1996 11:27:16 -0800 (PST) From: marino.ladavac@aut.alcatel.at Received: from atusks01.aut.alcatel.at by Relay1.Austria.EU.net with SMTP id AA00331 (5.67b/IDA-1.5 for ); Tue, 23 Jan 1996 20:05:07 +0100 Received: from atuhc16 by atusks01.aut.alcatel.at (4.1/SMI-4.1/AAA-1.29/main) id AA06008; Tue, 23 Jan 96 20:04:19 +0100 Message-Id: <9601231904.AA06008@atuhc16.atusks01.aut.alcatel.at> Received: by atuhc16 (1.38.193.4/16.2) id AA19056; Tue, 23 Jan 1996 20:04:16 +0100 Subject: Re: Amancio's tv program with capture! To: terry@lambert.org (Terry Lambert) Date: Tue, 23 Jan 96 20:04:16 MET Cc: hackers@freebsd.org In-Reply-To: <199601231755.KAA17864@phaeton.artisoft.com>; from "Terry Lambert" at Jan 23, 96 10:55 am Mailer: Elm [revision: 70.85] Sender: owner-hackers@freebsd.org Precedence: bulk > I would suggest adding an mmap() entry point for the device driver > and calling it when you request pages to be mmapped. The system > mmap() interface would not be changed, it would just act differently > for vnodes that were devices. > This would work for mapping video memory by device generically as well > as frame capture buffers, etc.. > Terry Lambert > terry@lambert.org Since it hit the hackers, I'll ask a more general question: anybody remembers Sun's pixrect and /dev/fb? Does anyone see something very wrong about it? All agree that video, keyboard and busmouse need to be separated; it's just too much to do for the current maintainers. The last time I had anything to do with pixrect and /dev/fb, it seemed to me as a reasonable abstraction. It would sure make life easier if we used graphic card drivers as LKM's, and geared everything towards the /dev/fb. I guess the X11 implementors might like it. Of course, if the LKM provided mmap() and various ioctl()s to operate the blitter, the things might get yet simpler. Any obvious fallacies with this? Any interest? /Alby