[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: video mem access with oskit-mach

From: Roland McGrath
Subject: Re: video mem access with oskit-mach
Date: Mon, 1 Oct 2001 17:12:17 -0400 (EDT)

The keyboard and video questions are really quite separate,
so I am answering them in two separate threads.

I believe that everything should already be in place in Mach (both flavors)
and in the Hurd for mapping physical device memory such as the frame buffer.
mmap on /dev/mem ought to dtrt already.  If not, it's a bug.

The only reason to have a more specific device for this is security,
e.g. /dev/vga that can mmap only a constrained range.  We can do this by
Hurdish means if we ever care to.  Theoretically one could use a remap
store on top of /dev/mem, whos runs give mostly holes and only map the
address ranges you want to allow for the frame buffer.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]