Subject: CVS commit: src/sys/arch/mips
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 03/04/2004 20:17:01
Module Name:	src
Committed By:	drochner
Date:		Thu Mar  4 20:17:01 UTC 2004

Modified Files:
	src/sys/arch/mips/conf: files.mips
	src/sys/arch/mips/mips: locore.S
Added Files:
	src/sys/arch/mips/mips: mips_fputrap.c

Log Message:
fix some problems with FPU exception signaling:
-The MachFPTrap did generate pre-siginfo arguments to trapsignal(),
 leading to an immediate crash.
 Put the siginfo generation into a separate .c file for simplicity.
-The exception bits in MIPS_FPU_CSR didn't get cleared, leading to
 trouble later ("kernel used FPU" on pmax).
 XXX This should probably be done for the "unimplemented fpu instruction"
  case as well, but I don't know how to test this. Or, even better -
  centralize the CSR clearing before the branch in MachFPTrap.


To generate a diff of this commit:
cvs rdiff -r1.49 -r1.50 src/sys/arch/mips/conf/files.mips
cvs rdiff -r1.157 -r1.158 src/sys/arch/mips/mips/locore.S
cvs rdiff -r0 -r1.1 src/sys/arch/mips/mips/mips_fputrap.c

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