Date: Wed, 12 Nov 2003 10:13:57 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org 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 Message-ID: <200311121813.hACIDviA006463@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311121813.hACIDviA006463>