From owner-cvs-src@FreeBSD.ORG Wed Nov 12 10:13:58 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB2AC16A4CE; Wed, 12 Nov 2003 10:13:58 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3305943FE1; Wed, 12 Nov 2003 10:13:58 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hACIDwXJ006464; Wed, 12 Nov 2003 10:13:58 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hACIDviA006463; Wed, 12 Nov 2003 10:13:57 -0800 (PST) (envelope-from jhb) Message-Id: <200311121813.hACIDviA006463@repoman.freebsd.org> From: John Baldwin Date: Wed, 12 Nov 2003 10:13:57 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 apic_vector.s intr_machdep.c io_apic.c local_apic.c mp_machdep.c src/sys/i386/include apicvar.h clock.h src/sys/i386/isa atpic.c atpic_vector.s icu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 18:13:58 -0000 jhb 2003/11/12 10:13:57 PST FreeBSD src repository Modified files: sys/i386/i386 apic_vector.s intr_machdep.c io_apic.c local_apic.c mp_machdep.c sys/i386/include apicvar.h clock.h sys/i386/isa atpic.c atpic_vector.s icu.h Log: - Move manipulation of td_intr_nesting_level out of assembly interrupt vector stubs and into the C functions they call. - Move disabling and EOIing of interrupt sources out of PIC driver entry points and into intr_execute_handlers(). Intr_execute_handlers() only disables a source for an interrupt if it is a stray interrupt or has threaded handlers. Sources with fast handlers no longer disable (mask) the source while executing the handlers. - Move the setting of clkintr_pending into intr_execute_handlers() and set the variable for any interrupt source with a vector of 0. (Should only be true for IRQ 0.) This fixes clkintr_pending in the NO_MIXED_MODE case. - Implement lapic_eoi() and use it to implement ioapic_eoi_source(). - Rename atpic_sched_ithd() to atpic_handle_intr() since it is used to handle all atpic interrupts and not just threaded ones. Inspired by: peter's changes to amd64 in p4 (1) Requested by: bde (2) Revision Changes Path 1.92 +0 -9 src/sys/i386/i386/apic_vector.s 1.2 +35 -13 src/sys/i386/i386/intr_machdep.c 1.6 +1 -2 src/sys/i386/i386/io_apic.c 1.2 +7 -2 src/sys/i386/i386/local_apic.c 1.224 +8 -0 src/sys/i386/i386/mp_machdep.c 1.2 +1 -0 src/sys/i386/include/apicvar.h 1.49 +1 -0 src/sys/i386/include/clock.h 1.3 +5 -1 src/sys/i386/isa/atpic.c 1.39 +18 -71 src/sys/i386/isa/atpic_vector.s 1.29 +1 -1 src/sys/i386/isa/icu.h