From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 29 15:56:39 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A13E16A433 for ; Mon, 29 Aug 2005 15:56:39 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FF8E43D46 for ; Mon, 29 Aug 2005 15:56:38 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[10.50.40.201]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Mon, 29 Aug 2005 12:11:54 -0400 From: John Baldwin To: freebsd-hackers@freebsd.org Date: Mon, 29 Aug 2005 11:39:16 -0400 User-Agent: KMail/1.8 References: <29683db2050829051168d821be@mail.gmail.com> In-Reply-To: <29683db2050829051168d821be@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508291139.17144.jhb@FreeBSD.org> Cc: Bharath Bhushan Subject: Re: interrupt handlers - FreeBSD 4.9 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 15:56:39 -0000 On Monday 29 August 2005 08:11 am, Bharath Bhushan wrote: > 1) What is the purpose of the two interrupt handler arrays ihandler[] > and intr_handlers[]? Not sure. It may be that ihandler is used for INTR_FAST interrupts. > What I saw on my system: > (kgdb) print intr_handler > $8 = {0x302b2d04 , 0x302b9bd4 , > 0x302b6708 , 0x302be648 , 0x302be648 , > 0x302b6708 , 0x302b53e0 , 0x30268128 , > 0x302b2fa0 , 0x302b6708 , > 0x302b6708 , 0x30268128 , > 0x302b6708 , 0x302b6708 , > 0x3017606c , 0x3017606c } > (kgdb) p/a ihandlers > $11 = 0x302a522e > (kgdb) p/a *ihandlers > $12 = 0x1ec05ff > > 2) Does cpl contain the mask to block hardware and software interrupts > or just for the software interrupts? Both. SWI is the upper 8 bits, lower 24 are for hardware. (24 are used with APIC_IO, 16 with the 8259A pics). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org