Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: source-changes
Date: 01/23/2008 20:02:16
Module Name:	src
Committed By:	joerg
Date:		Wed Jan 23 20:02:16 UTC 2008

Modified Files:
	src/sys/arch/amd64/amd64: autoconf.c
	src/sys/arch/i386/i386: autoconf.c
	src/sys/arch/x86/x86: cpu.c lapic.c

Log Message:
Initialise the Local Vector Table of the primary LAPIC directly after
enabling it. Explicitly initialise LINT0 as ExtInt and LINT1 as NMI,
the platform default. Mask the NMIs on the application processors and
mask the ExtInt if a IOAPIC was found.

With this patch, "disable ioapic" is supposed to work and it will allow
enabling the local APIC on all systems that have one to gain e.g. the
better clock interrupt.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/sys/arch/amd64/amd64/autoconf.c
cvs rdiff -r1.90 -r1.91 src/sys/arch/i386/i386/autoconf.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/x86/x86/cpu.c
cvs rdiff -r1.30 -r1.31 src/sys/arch/x86/x86/lapic.c

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