Subject: CVS commit: syssrc/sys/arch/i386/i386
To: None <source-changes@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 10/06/2002 23:38:39
Module Name:	syssrc
Committed By:	fvdl
Date:		Sun Oct  6 20:38:38 UTC 2002

Modified Files:
	syssrc/sys/arch/i386/i386: lapic.c mpbios.c

Log Message:
Handle per-CPU local apic redir entries a little better. My previous
solution relied on CPU entries coming first in the table, which
isn't guaranteed. Instead, export mp_intrs to lapic.c, and scan
it for entries that match the current CPU in lapic_set_lvt().

Also, do not try to up intr_cnt by the number of IO APICs or CPUs in
the case of MPS_ALL_APICS; it isn't needed, and it also relies on
CPU and IO APIC entries being earlier in the table.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/i386/i386/lapic.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/i386/i386/mpbios.c

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