Date: Wed, 18 Jul 2001 21:37:28 -0700 (PDT) From: "Brian S. Dean" <bsd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 machdep.c swtch.s Message-ID: <200107190437.f6J4bSW07320@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107190437.f6J4bSW07320>
