Date: Sun, 6 Sep 1998 15:41:42 -0700 (PDT) From: Tor Egge <tegge@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 mp_machdep.c mpapic.c mpboot.s src/sys/i386/include apic.h smp.h src/sys/i386/isa apic_ipl.s apic_vector.s clock.c intr_machdep.c src/sys/pci pci.c pci_compat.c Message-ID: <199809062241.PAA09291@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
tegge 1998/09/06 15:41:42 PDT Modified files: sys/i386/i386 mp_machdep.c mpapic.c mpboot.s sys/i386/include apic.h smp.h sys/i386/isa apic_ipl.s apic_vector.s clock.c intr_machdep.c sys/pci pci.c pci_compat.c Log: Maintain a mapping from irq number to (ioapic number, int pin) tuple, and use this when masking/unmasking interrupts. Maintain a mapping from (iopaic number, int pin) tuple to irq number, and use this when configuring devices and programming the ioapics. Previous code assumed that irq number was equal to int pin number, and that the ioapic number was 0. Don't let an AP enter _cpu_switch before all local apics are initialized. Revision Changes Path 1.80 +115 -14 src/sys/i386/i386/mp_machdep.c 1.32 +49 -50 src/sys/i386/i386/mpapic.c 1.7 +7 -1 src/sys/i386/i386/mpboot.s 1.12 +1 -7 src/sys/i386/include/apic.h 1.44 +13 -9 src/sys/i386/include/smp.h 1.22 +7 -11 src/sys/i386/isa/apic_ipl.s 1.34 +11 -6 src/sys/i386/isa/apic_vector.s 1.125 +3 -3 src/sys/i386/isa/clock.c 1.14 +8 -5 src/sys/i386/isa/intr_machdep.c 1.86 +3 -3 src/sys/pci/pci.c 1.10 +6 -6 src/sys/pci/pci_compat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809062241.PAA09291>