Subject: CVS commit: syssrc
To: None <>
From: Bill Sommerfeld <>
List: source-changes
Date: 09/21/2000 16:24:09
Module Name:	syssrc
Committed By:	sommerfeld
Date:		Thu Sep 21 13:24:09 UTC 2000

Modified Files:
	syssrc/sys/arch/i386/i386 [sommerfeld_i386mp_1]: ioapic.c mpbios.c
	syssrc/sys/arch/i386/include [sommerfeld_i386mp_1]: i82093var.h

Log Message:
Deal more sanely with ioapic softc lookup in an attempt to deal with
systems which use weird id's for the ioapics.
 - Use a linked list rather a fixed-size array indexed by ioapic id.
On all MP systems I've found so far, we only have one, and we only need to
look for them by id when establishing/disestablishing interrupt handlers; this
is not a performance-critical path..
 - similarly, use ioapic_find() in mpbios.c rather than reaching into
ioapic.c's data.
While we're here, support single-apic systems which have interrupts
wired to "all ioapics".

To generate a diff of this commit:
cvs rdiff -r1.1.2.7 -r1.1.2.8 syssrc/sys/arch/i386/i386/ioapic.c \
cvs rdiff -r1.1.2.3 -r1.1.2.4 syssrc/sys/arch/i386/include/i82093var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.