Subject: CVS commit: syssrc/sys/arch/i386/i386
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 07/07/2002 16:23:18
Module Name:	syssrc
Committed By:	drochner
Date:		Sun Jul  7 13:23:18 UTC 2002

Modified Files:
	syssrc/sys/arch/i386/i386: autoconf.c

Log Message:
Initialize the kernel vm86 code before autoconfiguration, so that
BIOS calls can be used for device probing etc.

And now it's getting nasty:
The kvm86 code needs a TSS, and it is most convenient to use proc0's
instead of doing some static allocation. (We might reconsider this if
we want to use vm86 for console initialization, ie much earlier.)
For the TSS slot to be allocated, we have to move the call to
i386_proc0_tss_ldt_init() up.
Since the npx code twiddles CR0 the corresponding pcb field must
be synchronized later. It would probably be cleaner to do this in
the npx driver.


To generate a diff of this commit:
cvs rdiff -r1.60 -r1.61 syssrc/sys/arch/i386/i386/autoconf.c

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