summaryrefslogtreecommitdiffstats
path: root/sys/compat/ia32
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-11-08 03:35:06 +0000
committerpeter <peter@FreeBSD.org>2003-11-08 03:35:06 +0000
commit1854ebc0e387e84eaca8c0a730ec9220c8f45577 (patch)
tree4ef24265e735e1779b31e3d50488de1454e18000 /sys/compat/ia32
parenta2fff099b75b96214ea1d17089b006cf2d0c29c0 (diff)
downloadFreeBSD-src-1854ebc0e387e84eaca8c0a730ec9220c8f45577.zip
FreeBSD-src-1854ebc0e387e84eaca8c0a730ec9220c8f45577.tar.gz
Remove some duplicated comments that refer to npx. XXX The setregs
function is actually MD (not MI) though..
Diffstat (limited to 'sys/compat/ia32')
-rw-r--r--sys/compat/ia32/ia32_sysvec.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/compat/ia32/ia32_sysvec.c b/sys/compat/ia32/ia32_sysvec.c
index 18e0976..e1c6102 100644
--- a/sys/compat/ia32/ia32_sysvec.c
+++ b/sys/compat/ia32/ia32_sysvec.c
@@ -279,18 +279,7 @@ ia32_setregs(td, entry, stack, ps_strings)
regs->tf_ss = _udatasel;
regs->tf_cs = _ucode32sel;
regs->tf_rbx = ps_strings;
-
- /*
- * Arrange to trap the next npx or `fwait' instruction (see npx.c
- * for why fwait must be trapped at least if there is an npx or an
- * emulator). This is mainly to handle the case where npx0 is not
- * configured, since the npx routines normally set up the trap
- * otherwise. It should be done only at boot time, but doing it
- * here allows modifying `npx_exists' for testing the emulator on
- * systems with an npx.
- */
load_cr0(rcr0() | CR0_MP | CR0_TS);
-
fpstate_drop(td);
/* Return via doreti so that we can change to a different %cs */
OpenPOWER on IntegriCloud