From owner-cvs-all Tue Mar 6 7:26:17 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 794A337B719; Tue, 6 Mar 2001 07:26:05 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA26078; Wed, 7 Mar 2001 02:25:51 +1100 Date: Wed, 7 Mar 2001 02:25:39 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Dag-Erling Smorgrav Cc: "Peter S. Housel" , John Baldwin , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa apic_vector.s icu_vector.s In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 6 Mar 2001, Dag-Erling Smorgrav wrote: > Bruce Evans writes: > > [...] The DDB key would still work if the keyboard interrupt has > > higher priority than the card interrupt. > > The keyboard interrupt is irq 1, which has higher priority than > anything except the clock (irq 0). Er, no. First, FreeBSD programs the ICU priorities to order 3-7,0-2 in the non-PC98 case. Thus irq 1 has one of the lowest priorities (only irq2 and thus irq8-15 are lower). Second, ICU prioritization has very little affect on FreeBSD interrupt prioritization. It affects fast interrupts but doesn't affect ithreads. The priorities in are used for ithreads. I think the keyboard ithread has the relatively low priority PI_TTYLOW. The DDB key would work better if the ithread had priority PI_TTYHIGH. The busy-wait LED setting code in the ithread should be fixed before raising the priority. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message