Subject: CVS commit: src/sys/arch/i386/stand/lib/crt/bootsect
To: None <source-changes@netbsd.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 02/25/2003 01:23:15
Module Name:	src
Committed By:	dsl
Date:		Mon Feb 24 23:23:15 UTC 2003

Modified Files:
	src/sys/arch/i386/stand/lib/crt/bootsect: start_bootsect.S

Log Message:
Clear 'big' bit of descriptors (%ss in particular) before switching to
16bit mode.  Otherwise the 32bit %esp and (probably) %ebp are used for
stack accesses.  (stupid cpu design!)
(approved by christos)


To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 \
    src/sys/arch/i386/stand/lib/crt/bootsect/start_bootsect.S

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