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.32 (requested by ...



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

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

diffstat:

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

diffs (18 lines):

diff -r 17aed82d9fe4 -r 97b72adff808 sys/arch/i386/i386/freebsd_machdep.c
--- a/sys/arch/i386/i386/freebsd_machdep.c      Wed Apr 03 22:10:41 2002 +0000
+++ b/sys/arch/i386/i386/freebsd_machdep.c      Wed Apr 03 22:10:58 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: freebsd_machdep.c,v 1.22 1998/09/13 01:43:17 thorpej Exp $     */
+/*     $NetBSD: freebsd_machdep.c,v 1.22.24.1 2002/04/03 22:10:58 he Exp $     */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -200,6 +200,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