From owner-freebsd-hackers Wed Aug 15 14:20:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 073CA37B416; Wed, 15 Aug 2001 14:20:46 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@[147.11.46.201]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id OAA03226; Wed, 15 Aug 2001 14:20:34 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 15 Aug 2001 14:20:39 -0700 (PDT) From: John Baldwin To: janb@cs.utep.edu Subject: Re: more Newbus questions Cc: hackers@FreeBSD.org, Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 -- 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