From owner-cvs-all@FreeBSD.ORG Sat Jun 19 22:25:05 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C8AF16A4CF; Sat, 19 Jun 2004 22:25:05 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3AE043D55; Sat, 19 Jun 2004 22:25:04 +0000 (GMT) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5JMOGxi026924; Sat, 19 Jun 2004 22:24:16 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5JMOGn1026923; Sat, 19 Jun 2004 22:24:16 GMT (envelope-from bde) Message-Id: <200406192224.i5JMOGn1026923@repoman.freebsd.org> From: Bruce Evans Date: Sat, 19 Jun 2004 22:24:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/isa npx.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 22:25:05 -0000 bde 2004-06-19 22:24:16 UTC FreeBSD src repository Modified files: sys/i386/isa npx.c Log: Clear any pending exceptions before using frstor (in the non-FXSR case) in npxsetregs() too. npxsetregs() must overwrite the previous state, and it is never paired with an npxgetregs() that would defuse the previous state (since npxgetregs() would have fninit'ed the state, leaving nothing to do). PR: 68058 (this should complete the fix) Tested by: Simon Barner Revision Changes Path 1.152 +4 -0 src/sys/i386/isa/npx.c