From owner-svn-src-all@FreeBSD.ORG Fri Mar 6 11:15:24 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 8FB41106566B; Fri, 6 Mar 2009 11:15:24 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7E0188FC13; Fri, 6 Mar 2009 11:15:24 +0000 (UTC) (envelope-from nyan@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 n26BFOfq017668; Fri, 6 Mar 2009 11:15:24 GMT (envelope-from nyan@svn.freebsd.org) Received: (from nyan@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n26BFOml017667; Fri, 6 Mar 2009 11:15:24 GMT (envelope-from nyan@svn.freebsd.org) Message-Id: <200903061115.n26BFOml017667@svn.freebsd.org> From: Takahashi Yoshihiro Date: Fri, 6 Mar 2009 11:15:24 +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: r189446 - head/sys/pc98/pc98 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: Fri, 06 Mar 2009 11:15:25 -0000 Author: nyan Date: Fri Mar 6 11:15:24 2009 New Revision: 189446 URL: http://svn.freebsd.org/changeset/base/189446 Log: MFi386: 189423 A better fix for handling different FPU initial control words for different ABIs. Modified: head/sys/pc98/pc98/machdep.c Modified: head/sys/pc98/pc98/machdep.c ============================================================================== --- head/sys/pc98/pc98/machdep.c Fri Mar 6 11:10:31 2009 (r189445) +++ head/sys/pc98/pc98/machdep.c Fri Mar 6 11:15:24 2009 (r189446) @@ -1161,7 +1161,7 @@ cpu_idle_wakeup(int cpu) void (*cpu_idle_hook)(void) = cpu_idle_default; /* - * Clear registers on exec + * Reset registers to default values on exec. */ void exec_setregs(td, entry, stack, ps_strings) @@ -1226,6 +1226,7 @@ exec_setregs(td, entry, stack, ps_string * emulators don't provide an entry point for initialization. */ td->td_pcb->pcb_flags &= ~FP_SOFTFP; + pcb->pcb_initial_npxcw = __INITIAL_NPXCW__; /* * Drop the FP state if we hold it, so that the process gets a