Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 Remove references to PSL_VM (implicitly v...



details:   https://anonhg.NetBSD.org/src/rev/be1c3d638199
branches:  trunk
changeset: 826055:be1c3d638199
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Aug 12 13:16:14 2017 +0000

description:
Remove references to PSL_VM (implicitly vm86).

diffstat:

 sys/arch/i386/i386/genassym.cf |  3 +--
 sys/arch/i386/i386/machdep.c   |  6 ++----
 2 files changed, 3 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r 7082fe63896a -r be1c3d638199 sys/arch/i386/i386/genassym.cf
--- a/sys/arch/i386/i386/genassym.cf    Sat Aug 12 13:11:23 2017 +0000
+++ b/sys/arch/i386/i386/genassym.cf    Sat Aug 12 13:16:14 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.102 2017/08/08 08:04:05 maxv Exp $
+#      $NetBSD: genassym.cf,v 1.103 2017/08/12 13:16:14 maxv Exp $
 
 #
 # Copyright (c) 1998, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -355,7 +355,6 @@
 define PSL_AC                  PSL_AC
 define PSL_MBO                 PSL_MBO
 define PSL_ID                  PSL_ID
-define PSL_VM                  PSL_VM
 define PSL_I                   PSL_I
 
 define MTX_IPL                 offsetof(struct kmutex, u.s.mtxs_ipl)
diff -r 7082fe63896a -r be1c3d638199 sys/arch/i386/i386/machdep.c
--- a/sys/arch/i386/i386/machdep.c      Sat Aug 12 13:11:23 2017 +0000
+++ b/sys/arch/i386/i386/machdep.c      Sat Aug 12 13:16:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.789 2017/08/12 07:07:53 maxv Exp $       */
+/*     $NetBSD: machdep.c,v 1.790 2017/08/12 13:16:14 maxv Exp $       */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2000, 2004, 2006, 2008, 2009
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.789 2017/08/12 07:07:53 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.790 2017/08/12 13:16:14 maxv Exp $");
 
 #include "opt_beep.h"
 #include "opt_compat_freebsd.h"
@@ -647,8 +647,6 @@
            ? _UC_SETSTACK : _UC_CLRSTACK;
        memset(&frame.sf_uc.uc_stack, 0, sizeof(frame.sf_uc.uc_stack));
 
-       if (tf->tf_eflags & PSL_VM)
-               (*p->p_emul->e_syscall_intern)(p);
        sendsig_reset(l, sig);
 
        mutex_exit(p->p_lock);



Home | Main Index | Thread Index | Old Index