> > The only real way to do this "right" is going to be to have the X 
> > server load a KLD, which will then be able to hook the relevant 
> > interrupt(s).  Any other alternative involves interrupt delivery to 
> > user-space, which is just not practical.
> 
> Hi Mike,
> Your idea sounds intriguing . How should we wired the KLD to 
> the X server? or how will the KLD inform the X server that it
> has received a vertical retrace interrupt .

The X server would have to load the KLD when it starts.  The KLD would 
have to contain _all_ of the code that would run when the interrupt 
triggered.  You would still have absolutely no latency guarantee on 
delivery of the interrupt to the KLD; you'd have to check on entry to 
the handler to see whether you weren't already too late.

Basically, the whole idea is just totally screwed.  You shouldn't be 
trying to do this because it just can't be done right.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime.             \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to