Subject: CVS commit: src/sys/arch/amd64/amd64
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 03/03/2004 20:27:53
Module Name:	src
Committed By:	drochner
Date:		Wed Mar  3 20:27:53 UTC 2004

Modified Files:
	src/sys/arch/amd64/amd64: fpu.c

Log Message:
fix some problems with lazy fpu context handling:
-if a new process gets a CPU with an FPU state of another process, it
 needs to initialize it to a clean state
 (actually, put the "fninit" where it belongs logically)
-initialize mxcsr as well
minor cleanup/optimization
Signal delivery after unmasking some cause is still broken - it doesn't
care about xmm exceptions. For now, set at least si_code to something
positive so that it doesn't look like a user generated asynchonous signal.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/sys/arch/amd64/amd64/fpu.c

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