Re: installing an ISR from user code

From: rread@datarithm.net
Date: Mon Oct 30 2000 - 14:06:59 EST


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/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:27 EST