Module Name: src Committed By: tsutsui Date: Wed Mar 16 15:14:08 UTC 2011
Modified Files: src/sys/arch/mips/mips: trap.c Log Message: Set R_CAUSE into trapframe in curlwp before calling mips_fpu_trap() for workaround PR port-mips/44639. mipsX_user_gen_exception() in mipsX_subr.S (which may call mips_fpu_trap()) doesn't set R_CAUSE in curlwp trapframe, while mips1_use_intr() in locore_mips1.S (that may call mips_fpu_intr()) does. All tests in tests/lib/libc/ieeefp on MIPS3 should pass now. To generate a diff of this commit: cvs rdiff -u -r1.228 -r1.229 src/sys/arch/mips/mips/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.