Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 20:24:55 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Evan Dower <evantd@hotmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Interest in nvidia-driver debugging on 5-*
Message-ID:  <3EE94407.88D481CF@mindspring.com>
References:  <BAY8-F107XrRjbDt3Hv00025bed@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Evan Dower wrote:
> >NVIDIA is handling everything to do with the driver. Expect a new
> >release "shortly" *cough*.
> 
> I was afraid that might be the case :-(

The only thing you care about is entry and exit through driver
entry points... and maybe interrupts.  It would be easy enough
to wrapper all entry points to restore %gs on entry and save it
on exit.  For the interrupt handler, you would have to mess with
the registration mechanism to wrap that.  You might be able to
get by with poking wrapper routines into the device declaration
entry points on module registration with an "if nVidia" hack.
This type of hack would actually be best, from the perspective
of the performance of everything else, since it would be a one
time setup, instead of something that has to be checked on each
entry to see if it's happened yet.

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EE94407.88D481CF>