On 15-Aug-01 [EMAIL PROTECTED] wrote:
> OK, this is helpful, but I have looked at this before. this seems to be
> where the interrupt vector table is initialized.(correct me if I am
> wrong..) NOw, where do the devices that newbus finds and probes get
> inserted into these structures(intr_handler,intr_mptr, etc)?
> Also, what are fastintr[] and slowintr[] for?
Look at the nexus driver for i386. That is where bus_setup_intr and
bus_teardown_intr() finally end up ending. They end up calling the
inthand_add() and inthand_remove() functions. Slow interrupts are threaded
interrupts (run in an ithread), fast interrupts are non-threaded (and thus
synchronous) and are used for clock and sio interrupts.
--
John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message