[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: bus_setup_intr (9)
From:       Paolo Pisati <p.pisati () oltrelinux ! com>
Date:       2009-02-12 21:12:55
Message-ID: 499490D7.5020306 () oltrelinux ! com
[Download RAW message or body]

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.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic