Re: Interest in nvidia-driver debugging on 5-*

From: Terry Lambert <tlambert2_at_mindspring.com>
Date: Thu, 12 Jun 2003 20:24:55 -0700
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
Received on Thu Jun 12 2003 - 18:26:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:11 UTC