Subject: CVS commit: syssrc/sys/arch/i386
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 07/14/2002 17:39:46
Module Name:	syssrc
Committed By:	drochner
Date:		Sun Jul 14 14:39:45 UTC 2002

Modified Files:
	syssrc/sys/arch/i386/bios: vesa_raster8.c vesabios.c
	syssrc/sys/arch/i386/i386: kvm86.c

Log Message:
explicitely set ds, es, fs and gs to 0 before calling kvm86;
use the right places in the trap frame (the 4 segment registers which
get loaded on a rti to VM86 mode) to set them for BIOS calls
(we have never set them to anything but 0 before, so it didn't matter)


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/i386/bios/vesa_raster8.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/i386/bios/vesabios.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/i386/i386/kvm86.c

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