Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Remove references to VM86 from the amd64 kernel con...



details:   https://anonhg.NetBSD.org/src/rev/5c3843fbea51
branches:  trunk
changeset: 781866:5c3843fbea51
user:      dsl <dsl%NetBSD.org@localhost>
date:      Thu Oct 04 21:23:45 2012 +0000

description:
Remove references to VM86 from the amd64 kernel configs.
VM86 mode isn't supported while in long mode.

diffstat:

 sys/arch/amd64/conf/XEN3_DOM0   |  3 +--
 sys/arch/amd64/conf/XEN3_DOMU   |  3 +--
 sys/arch/amd64/conf/files.amd64 |  3 +--
 sys/arch/x86/include/psl.h      |  4 +++-
 sys/arch/x86/x86/sys_machdep.c  |  7 ++++---
 5 files changed, 10 insertions(+), 10 deletions(-)

diffs (105 lines):

diff -r 33b17ffa5841 -r 5c3843fbea51 sys/arch/amd64/conf/XEN3_DOM0
--- a/sys/arch/amd64/conf/XEN3_DOM0     Thu Oct 04 19:28:36 2012 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOM0     Thu Oct 04 21:23:45 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOM0,v 1.88 2012/09/24 23:13:37 khorben Exp $
+# $NetBSD: XEN3_DOM0,v 1.89 2012/10/04 21:23:45 dsl Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -16,7 +16,6 @@
 # boot messages with MPBIOS, acpi and ioapic can be quite large
 options        MSGBUFSIZE=24576
 
-#options       VM86            # virtual 8086 emulation
 #options       USER_LDT        # user-settable LDT; used by WINE
 
 # CPU features
diff -r 33b17ffa5841 -r 5c3843fbea51 sys/arch/amd64/conf/XEN3_DOMU
--- a/sys/arch/amd64/conf/XEN3_DOMU     Thu Oct 04 19:28:36 2012 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOMU     Thu Oct 04 21:23:45 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.39 2012/09/23 01:05:21 chs Exp $
+# $NetBSD: XEN3_DOMU,v 1.40 2012/10/04 21:23:45 dsl Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -16,7 +16,6 @@
 options        MAXPHYS=32768   #xbd doesn't handle 64k transfers
 #options       DOM0OPS
 
-#options       VM86            # virtual 8086 emulation
 #options       USER_LDT        # user-settable LDT; used by WINE
 
 #options       MTRR            # memory-type range register syscall support
diff -r 33b17ffa5841 -r 5c3843fbea51 sys/arch/amd64/conf/files.amd64
--- a/sys/arch/amd64/conf/files.amd64   Thu Oct 04 19:28:36 2012 +0000
+++ b/sys/arch/amd64/conf/files.amd64   Thu Oct 04 21:23:45 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.amd64,v 1.77 2012/09/27 18:28:55 alnsn Exp $
+#      $NetBSD: files.amd64,v 1.78 2012/10/04 21:23:45 dsl Exp $
 #
 # new style config file for amd64 architecture
 #
@@ -25,7 +25,6 @@
 #
 
 defflag                        USER_LDT
-defflag                        VM86
 defflag eisa.h EISA
 
 file   arch/amd64/amd64/amd64func.S
diff -r 33b17ffa5841 -r 5c3843fbea51 sys/arch/x86/include/psl.h
--- a/sys/arch/x86/include/psl.h        Thu Oct 04 19:28:36 2012 +0000
+++ b/sys/arch/x86/include/psl.h        Thu Oct 04 21:23:45 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psl.h,v 1.7 2012/04/20 18:28:43 jym Exp $      */
+/*     $NetBSD: psl.h,v 1.8 2012/10/04 21:23:45 dsl Exp $      */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -62,9 +62,11 @@
 #define        PSL_MBZ         0xffc08028      /* must be zero bits */
 
 #define        PSL_USERSET     (PSL_MBO | PSL_I)
+#ifdef i386
 #if defined(_KERNEL_OPT)
 #include "opt_vm86.h"
 #endif
+#endif
 #ifdef VM86
 #define        PSL_USERSTATIC  (PSL_MBO | PSL_MBZ | PSL_I | PSL_IOPL | PSL_NT | PSL_VIF | PSL_VIP)
 #else
diff -r 33b17ffa5841 -r 5c3843fbea51 sys/arch/x86/x86/sys_machdep.c
--- a/sys/arch/x86/x86/sys_machdep.c    Thu Oct 04 19:28:36 2012 +0000
+++ b/sys/arch/x86/x86/sys_machdep.c    Thu Oct 04 21:23:45 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_machdep.c,v 1.25 2011/10/10 15:15:28 jakllsch Exp $        */
+/*     $NetBSD: sys_machdep.c,v 1.26 2012/10/04 21:23:45 dsl Exp $     */
 
 /*-
  * Copyright (c) 1998, 2007, 2009 The NetBSD Foundation, Inc.
@@ -30,12 +30,14 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.25 2011/10/10 15:15:28 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.26 2012/10/04 21:23:45 dsl Exp $");
 
 #include "opt_mtrr.h"
 #include "opt_perfctrs.h"
 #include "opt_user_ldt.h"
+#ifdef i386
 #include "opt_vm86.h"
+#endif
 #include "opt_xen.h"
 
 #include <sys/param.h>
@@ -68,7 +70,6 @@
 /* Need to be checked. */
 #undef USER_LDT
 #undef PERFCTRS
-#undef VM86
 #undef IOPERM
 #else
 #if defined(XEN)



Home | Main Index | Thread Index | Old Index