cvs commit: src/sys/i386/acpica madt.c src/sys/i386/i386 io_apic.c
machdep.c mptable.c src/sys/i386/include apicvar.h
John Baldwin
jhb at FreeBSD.org
Mon May 10 11:49:59 PDT 2004
jhb 2004/05/10 11:49:58 PDT
FreeBSD src repository
Modified files:
sys/i386/acpica madt.c
sys/i386/i386 io_apic.c machdep.c mptable.c
sys/i386/include apicvar.h
Log:
Rework the APIC mixed mode support a bit:
- Require the APIC enumerators to explicitly enable mixed mode by calling
ioapic_enable_mixed_mode(). Calling this function tells the apic driver
that the PC-AT 8259A PICs are present and routable through the first I/O
APIC via an ExtINT pin. The mptable enumerator always calls this
function for now. The MADT enumerator only enables mixed mode if the
PC-AT compatability flag is set in the MADT header.
- Allow mixed mode to be enabled or disabled via a 'hw.apic.mixed_mode'
tunable. By default this tunable is set to 1 (true). The kernel option
NO_MIXED_MODE changes the default to 0 to preserve existing behavior, but
adding 'hw.apic.mixed_mode=0' to loader.conf achieves the same effect.
- Only use mixed mode to route IRQ 0 if it is both enabled by the APIC
enumerator and activated by the loader tunable. Note that both
conditions must be true, so if the APIC enumerator does not enable mixed
mode, then you can't set the tunable to try to override the enumerator.
Revision Changes Path
1.14 +2 -0 src/sys/i386/acpica/madt.c
1.9 +33 -19 src/sys/i386/i386/io_apic.c
1.588 +5 -0 src/sys/i386/i386/machdep.c
1.232 +1 -0 src/sys/i386/i386/mptable.c
1.7 +1 -0 src/sys/i386/include/apicvar.h
More information about the cvs-src
mailing list