lkml.org 
[lkml]   [2000]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: installing an ISR from user code
I'm new at this myself, but how about creating a minor number for each
ISR? When the BH runs, it wakes up the processing waiting on the
device for that ISR. The user code opens as whatever devices it's
interested in and waits for interrupts using select.


robert

* Brett Smith (brett.smith@bktech.com) [001030 09:25]:
>
> We have written a char driver for our proprietary h/w. This driver
> handles a
> multitude of interrupts from the h/w in the following fashion: The ISR
> reads/saves the status register (indication of which int was hit) in
> global, and the marks the BH to run. The BH uses the global to call one
> of 32 "ISRs" (an array of func ptrs). I would like to be able to
> install an "ISR" dynamically from user code (the module has already been
> installed). Is this possible?
>
> If it is possible, how does the build/link work?
>
> thanks,
> brett.smith@bktech.com
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.067 / U:0.352 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site