From owner-cvs-all Wed Jul 18 21:37:39 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2A94337B412; Wed, 18 Jul 2001 21:37:28 -0700 (PDT) (envelope-from bsd@FreeBSD.org) Received: (from bsd@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6J4bSW07320; Wed, 18 Jul 2001 21:37:28 -0700 (PDT) (envelope-from bsd) Message-Id: <200107190437.f6J4bSW07320@freefall.freebsd.org> From: "Brian S. Dean" Date: Wed, 18 Jul 2001 21:37:28 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 machdep.c swtch.s X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG bsd 2001/07/18 21:37:28 PDT Modified files: sys/i386/i386 machdep.c swtch.s Log: swtch.s: During context save, use the correct bit mask for clearing the non-reserved bits of dr7. During context restore, load dr7 in such a way as to not disturb reserved bits. machdep.c: Don't explicitly disallow the setting of the reserved bits in dr7 since we now keep from setting them when we load dr7 from the PCB. This allows one to write back the dr7 value obtained from the system without triggering an EINVAL (one of the reserved bits always seems to be set after taking a trace trap). MFC after: 7 days Revision Changes Path 1.464 +1 -4 src/sys/i386/i386/machdep.c 1.115 +9 -3 src/sys/i386/i386/swtch.s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message