bus_setup_intr (9)

Paolo Pisati p.pisati at oltrelinux.com
Thu Feb 12 13:24:37 PST 2009


Alexej Sokolov wrote:
> from man:
> int
>      bus_setup_intr(device_t dev, struct resource *r, int flags,
>          driver_filter_t filter, driver_intr_t ithread, void *arg,
>          void **cookiep);
>
> The function filter returns value of type driver_filter_t (int).  This
> function will run if interrupt happen.
>
> Question: Which function will get this returned "int value" of filter
> function. Or How/where can I catch it ?
>   
the interrupt handling framework: see 
sys/kern/kern_intr.c::intr_event_handle().

bye,
P.


More information about the freebsd-hackers mailing list