From owner-freebsd-questions@FreeBSD.ORG Sun Oct 3 23:49:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DA5116A4CE for ; Sun, 3 Oct 2004 23:49:01 +0000 (GMT) Received: from hotmail.com (bay1-f40.bay1.hotmail.com [65.54.245.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17BA843D2F for ; Sun, 3 Oct 2004 23:49:01 +0000 (GMT) (envelope-from hdxia1@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 3 Oct 2004 16:49:00 -0700 Received: from 24.3.244.240 by by1fd.bay1.hotmail.msn.com with HTTP; Sun, 03 Oct 2004 23:48:59 GMT X-Originating-IP: [24.3.244.240] X-Originating-Email: [hdxia1@hotmail.com] X-Sender: hdxia1@hotmail.com From: "Haidong Xia" To: freebsd-questions@freebsd.org Date: Sun, 03 Oct 2004 23:48:59 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 03 Oct 2004 23:49:00.0812 (UTC) FILETIME=[8E76A4C0:01C4A9A3] Subject: FreeBSD interrupt dispatch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Oct 2004 23:49:01 -0000 Hello all, I am trying to do some experiments in which I need to insert some codes before an interrrupt is dispatched. But I don't know where I should insert the codes. Basically, when an interrupt arrives, the kernel needs to call the corresponding interrrupt handler. I need to insert some codes before any interrupt is dispatched. Could anyone tell me which file in the kernel (4.8) I should look at for interrupt distpatching? Thanks Haidong _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail