diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-05-29 02:58:37 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-05-29 02:58:37 +0000 |
commit | b60160771c8feb02c2362beea72cd650c1e4782f (patch) | |
tree | 148fc7d55c6f53e985453277d59ea634b8595fde /sys/i386/include/npx.h | |
parent | 56e4b3fcb68cec9a5592c6c3908708485c434fe8 (diff) | |
download | FreeBSD-src-b60160771c8feb02c2362beea72cd650c1e4782f.zip FreeBSD-src-b60160771c8feb02c2362beea72cd650c1e4782f.tar.gz |
Backout changes trying to inherit floating-point environment, although
POSIX (susv3) requires this, but it is unclear what should be inherited,
duplicating whole 387 stack for new thread seems to be unnecessary and
dangerous. Revert to previous code, force a new thread to be started with
clean FP state.
Diffstat (limited to 'sys/i386/include/npx.h')
-rw-r--r-- | sys/i386/include/npx.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/i386/include/npx.h b/sys/i386/include/npx.h index 792f75a..86b9af8 100644 --- a/sys/i386/include/npx.h +++ b/sys/i386/include/npx.h @@ -138,8 +138,6 @@ union savefpu { #ifdef _KERNEL -struct thread; - #define IO_NPX 0x0F0 /* Numeric Coprocessor */ #define IO_NPXSIZE 16 /* 80387/80487 NPX registers */ @@ -157,7 +155,6 @@ void npxinit(u_short control); void npxsave(union savefpu *addr); void npxsetregs(struct thread *td, union savefpu *addr); int npxtrap(void); -void npx_fork_thread(struct thread *td, struct thread *newtd); #endif |