Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2001 14:20:39 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        janb@cs.utep.edu
Cc:        hackers@FreeBSD.org, Mike Smith <msmith@FreeBSD.org>
Subject:   Re: more Newbus questions
Message-ID:  <XFMail.010815142039.jhb@FreeBSD.org>
In-Reply-To: <Pine.GSO.4.30.0108151447160.20652-100000@gecko>

next in thread | previous in thread | raw e-mail | index | archive | help

On 15-Aug-01 janb@cs.utep.edu 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 <jhb@FreeBSD.org> -- 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010815142039.jhb>