Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2002 13:44:04 +0200
From:      Pierre Beyssac <beyssac@enst.fr>
To:        Bill Huey <billh@gnuppy.monkey.org>
Cc:        Frank Mayhar <frank@exit.com>, Alp ATICI <atici@cpw.math.columbia.edu>, Ed Yu <edlyu@yahoo.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: About 5.0 and Nvidia drivers
Message-ID:  <20020806134404.A87813@bofh.enst.fr>
In-Reply-To: <20020806103047.GA19825@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Tue, Aug 06, 2002 at 03:30:47AM -0700
References:  <Pine.LNX.4.44.0208050157420.15528-100000@cpw.math.columbia.edu> <200208051636.g75GaamW000669@realtime.exit.com> <20020806040903.GA4316@gnuppy.monkey.org> <20020806115753.A85868@bofh.enst.fr> <20020806103047.GA19825@gnuppy.monkey.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 06, 2002 at 03:30:47AM -0700, Bill Huey wrote:
> On Tue, Aug 06, 2002 at 11:57:53AM +0200, Pierre Beyssac wrote:
> > It does a heavy use of Linux ioctls to call Linux DRM and Linux AGP
> > and getting that to run under FreeBSD DRM and FreeBSD AGP ioctls
> > is far from easy because the ioctl calling convention is quite
> > different. So it's far from what I would call OS- or
> 
> Except that there isn't an ioctl() symbol referenced in that binary
> module (via 'nm').

It doesn't have to show up as a link symbol since it's a syscall.
It can also be invoked using a i386 interrupt instruction. But I
can't find any in nvidia_drv.o, so either there are none or I'm not
looking the right way or at the right place.

> address of the card itself. The intuition here and from the supporting
> evidence from the 'nm' output is that you pass it the address of the
> card and the binary module does all of that stuff automatically.

Interesting... So the ioctl() stuff I heard about was probably
referring to code in the Linux XFree server.

So you're right, it seems to be architectured better than I imagined :)
-- 
Pierre Beyssac						pb@enst.fr

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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