From bbfcbb84831e03c02258d90dee61c5c509f01a92 Mon Sep 17 00:00:00 2001 From: mycroft Date: Mon, 1 May 1995 14:13:26 +0000 Subject: [PATCH] Add VM86 segment registers to trapframe. --- sys/arch/i386/include/frame.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/include/frame.h b/sys/arch/i386/include/frame.h index 795e5430a98f..7a10435d0af8 100644 --- a/sys/arch/i386/include/frame.h +++ b/sys/arch/i386/include/frame.h @@ -1,4 +1,4 @@ -/* $NetBSD: frame.h,v 1.10 1994/10/27 04:16:08 cgd Exp $ */ +/* $NetBSD: frame.h,v 1.11 1995/05/01 14:13:26 mycroft Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -63,9 +63,14 @@ struct trapframe { int tf_eip; int tf_cs; int tf_eflags; - /* below only when transitting rings (e.g. user to kernel) */ + /* 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; }; /* Interrupt stack frame */