lkml.org 
[lkml]   [1998]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: interrupt latency
On Tue, Aug 11, 1998 at 09:05:06AM -0400, Richard B. Johnson wrote:

> That's not how I would do it. I would execute an ioctl to make your
> driver do the work. The driver is already installed with its
> interrupt attached. The ioctl would return the results....

That might be a requirement anyhow. I just tried running:

main()
{
for(;;){
__asm__("int $15");
}
}

and it segfaults. I was hoping to see the interrupt counter for int
15 increase, but alas, it does not, and my isr never gets called.

I assume the only way I can induce the interrupt is from ring 0?




-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:2.044 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site