From owner-svn-src-all@FreeBSD.ORG Mon Feb 23 15:38:35 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7F21106564A; Mon, 23 Feb 2009 15:38:35 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C643A8FC0A; Mon, 23 Feb 2009 15:38:35 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1NFcZw4028915; Mon, 23 Feb 2009 15:38:35 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1NFcZUp028914; Mon, 23 Feb 2009 15:38:35 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <200902231538.n1NFcZUp028914@svn.freebsd.org> From: John Baldwin Date: Mon, 23 Feb 2009 15:38:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188937 - head/sys/i386/ibcs2 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 15:38:36 -0000 Author: jhb Date: Mon Feb 23 15:38:35 2009 New Revision: 188937 URL: http://svn.freebsd.org/changeset/base/188937 Log: FreeBSD/i386 doesn't include a software FPU emulator anymore, so adjust an iBCS2 syscall to indicate that there is no FPU support at all rather than emulated support if an FPU is not present. Modified: head/sys/i386/ibcs2/ibcs2_sysi86.c Modified: head/sys/i386/ibcs2/ibcs2_sysi86.c ============================================================================== --- head/sys/i386/ibcs2/ibcs2_sysi86.c Mon Feb 23 08:58:29 2009 (r188936) +++ head/sys/i386/ibcs2/ibcs2_sysi86.c Mon Feb 23 15:38:35 2009 (r188937) @@ -60,9 +60,10 @@ ibcs2_sysi86(struct thread *td, struct i case SI86_FPHW: { /* Floating Point information */ int val, error; - if (hw_float) val = IBCS2_FP_387; /* FPU hardware */ - else val = IBCS2_FP_SW; /* FPU emulator */ - + if (hw_float) + val = IBCS2_FP_387; + else + val = IBCS2_FP_NO; if ((error = copyout(&val, args->arg, sizeof(val))) != 0) return error; return 0;