bug-hurd
[Top][All Lists]
Advanced

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

Re: video mem access with oskit-mach


From: Marcus Brinkmann
Subject: Re: video mem access with oskit-mach
Date: Tue, 2 Oct 2001 22:09:50 +0200
User-agent: Mutt/1.3.22i

On Tue, Oct 02, 2001 at 03:54:46PM -0400, Roland McGrath wrote:
> But that's already implemented!  The existing iopb code works exactly this
> way.  All we have to change is its use of device_t to use a generic
> ipc_port pointer instead.

Fair enough.  And you already said that it can get a port matching a
bit mask, so it's as generic as it can get (before I realized that
I was worried about just having a similar set of io port permission
groups as we have with the devices in gnumach).

> Yeah, that's why.  You don't hand anybody your task port if you can help
> it.  proc has to have it, but nobody else does.

That's a pretty good reason, which I overlooked.

> The more nebulous reasons are that you might get this capability,
> hang on to it for later, pass it to other tasks, etc.

That's not actually an issue, as the server could still hand out such ports
But I see the problems, and why your solution is better.

Thanks,
Marcus 

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

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