Date: Thu, 5 Mar 2009 18:32:43 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/i386/i386 mp_machdep.c src/sys/i386/include npx.h src/sys/i386/isa npx.c Message-ID: <200903051833.n25IX141048255@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-03-05 18:32:43 UTC
FreeBSD src repository
Modified files:
sys/i386/i386 mp_machdep.c
sys/i386/include npx.h
sys/i386/isa npx.c
Log:
SVN rev 189418 on 2009-03-05 18:32:43Z by jhb
Some cleanups to the i386 FPU support:
- Remove the control word parameter to npxinit(). It was always set
to __INITIAL_NPXCW__.
- Remove npx_cleanstate_ready as the cleanstate is always initalized
when it is used.
- Improve the handling of the case when the FPU isn't present. Now
the npx0 device no longer succeeds in its probe so all of npx_attach()
is skipped. Also, we allow this case with SMP (though that shouldn't
actually occur as all i386 systems that support SMP have FPUs) now.
SMP was only an issue back when we had an FPU emulator which was not
per-CPU.
- MFamd64: Clear some of the state in npx_cleanstate rather than leaving
it as garbage.
- MFamd64: When a user thread first uses the FPU, use npx_cleanstate for
the initial FPU state.
Reviewed by: bde
Revision Changes Path
1.294 +1 -1 src/sys/i386/i386/mp_machdep.c
1.33 +1 -1 src/sys/i386/include/npx.h
1.177 +34 -51 src/sys/i386/isa/npx.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903051833.n25IX141048255>
