Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/i386/i386 Pull up revision 1.62 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/17aed82d9fe4
branches:  netbsd-1-5
changeset: 493038:17aed82d9fe4
user:      he <he%NetBSD.org@localhost>
date:      Wed Apr 03 22:10:41 2002 +0000

description:
Pull up revision 1.62 (requested by christos):
  Fix restoral of %fs / %gs in i386 emulation code.

diffstat:

 sys/arch/i386/i386/svr4_machdep.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 733cbaf10c27 -r 17aed82d9fe4 sys/arch/i386/i386/svr4_machdep.c
--- a/sys/arch/i386/i386/svr4_machdep.c Wed Apr 03 21:33:34 2002 +0000
+++ b/sys/arch/i386/i386/svr4_machdep.c Wed Apr 03 22:10:41 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_machdep.c,v 1.47.4.3 2001/11/25 20:07:35 he Exp $  */
+/*     $NetBSD: svr4_machdep.c,v 1.47.4.4 2002/04/03 22:10:41 he Exp $  */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -412,6 +412,8 @@
        /*
         * Build context to run handler in.
         */
+       tf->tf_gs = GSEL(GUDATA_SEL, SEL_UPL);
+       tf->tf_fs = GSEL(GUDATA_SEL, SEL_UPL);
        tf->tf_es = GSEL(GUDATA_SEL, SEL_UPL);
        tf->tf_ds = GSEL(GUDATA_SEL, SEL_UPL);
        tf->tf_eip = (int)psp->ps_sigcode;



Home | Main Index | Thread Index | Old Index