From owner-cvs-src-old@FreeBSD.ORG Thu Mar 5 18:33:01 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D14831065670 for ; Thu, 5 Mar 2009 18:33:01 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BD8438FC1B for ; Thu, 5 Mar 2009 18:33:01 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n25IX1Er048256 for ; Thu, 5 Mar 2009 18:33:01 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n25IX141048255 for cvs-src-old@freebsd.org; Thu, 5 Mar 2009 18:33:01 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200903051833.n25IX141048255@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Thu, 5 Mar 2009 18:32:43 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 mp_machdep.c src/sys/i386/include npx.h src/sys/i386/isa npx.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 18:33:02 -0000 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