From owner-freebsd-hackers Wed Dec 2 08:19:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA08585 for freebsd-hackers-outgoing; Wed, 2 Dec 1998 08:19:23 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bingsun2.cc.binghamton.edu (bingsun2.cc.binghamton.edu [128.226.1.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08580 for ; Wed, 2 Dec 1998 08:19:21 -0800 (PST) (envelope-from bf20761@binghamton.edu) Received: from localhost (bf20761@localhost) by bingsun2.cc.binghamton.edu (8.8.7/8.6.9) with SMTP id LAA25016 for ; Wed, 2 Dec 1998 11:19:03 -0500 (EST) Date: Wed, 2 Dec 1998 11:19:03 -0500 (EST) From: zhihuizhang X-Sender: bf20761@bingsun2 To: hackers Subject: Interrupt handler and interrupt unit? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the source code isa.c, I find the definition of intr_unit[]. I have no idea what is an interrupt unit and how it is used. Maybe it refers to one of several device units connected by a single controller and that controller is assigned one IRQ by OS or hardware jumpers? Also, I want to know what specific information is passed to the system when an interrupt occurs. I read in a book on device driver, it only says this is OS and hardware dependent. I hope someone can give me enlightment on the above two points. Thanks a lot. -------------------------------------------------- | Zhihui Zhang, http://cs.binghamton.edu/~zzhang | | Dept. of Computer Science, SUNY at Binghamton | -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message