Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/include Remove the vm86 fields from the trap f...



details:   https://anonhg.NetBSD.org/src/rev/7082fe63896a
branches:  trunk
changeset: 826054:7082fe63896a
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Aug 12 13:11:23 2017 +0000

description:
Remove the vm86 fields from the trap frame. It seems to me that we could
now remove the '-16' when initializing pcb_esp0.

diffstat:

 sys/arch/i386/include/frame.h |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (21 lines):

diff -r ad4b597cc473 -r 7082fe63896a sys/arch/i386/include/frame.h
--- a/sys/arch/i386/include/frame.h     Sat Aug 12 12:48:47 2017 +0000
+++ b/sys/arch/i386/include/frame.h     Sat Aug 12 13:11:23 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: frame.h,v 1.36 2017/06/14 00:40:05 chs Exp $   */
+/*     $NetBSD: frame.h,v 1.37 2017/08/12 13:11:23 maxv Exp $  */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -100,11 +100,6 @@
        /* below used when transitting rings (e.g. user to kernel) */
        int     tf_esp;
        int     tf_ss;
-       /* below used when switching out of VM86 mode */
-       int     tf_vm86_es;
-       int     tf_vm86_ds;
-       int     tf_vm86_fs;
-       int     tf_vm86_gs;
 };
 
 /*



Home | Main Index | Thread Index | Old Index