Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Fix one more place where we need to resto...
details: https://anonhg.NetBSD.org/src/rev/815ba69d4d1c
branches: trunk
changeset: 516839:815ba69d4d1c
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Oct 31 18:17:56 2001 +0000
description:
Fix one more place where we need to restore %fs/%gs explicitly.
diffstat:
sys/arch/i386/i386/svr4_machdep.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r d45a4e814c8c -r 815ba69d4d1c sys/arch/i386/i386/svr4_machdep.c
--- a/sys/arch/i386/i386/svr4_machdep.c Wed Oct 31 18:16:02 2001 +0000
+++ b/sys/arch/i386/i386/svr4_machdep.c Wed Oct 31 18:17:56 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_machdep.c,v 1.55 2001/08/03 00:41:46 thorpej Exp $ */
+/* $NetBSD: svr4_machdep.c,v 1.56 2001/10/31 18:17:56 jdolecek Exp $ */
/*-
* Copyright (c) 1994, 2000 The NetBSD Foundation, Inc.
@@ -232,7 +232,8 @@
!USERMODE(r[SVR4_X86_CS], r[SVR4_X86_EFL]))
return (EINVAL);
- /* %fs and %gs were restored by the trampoline. */
+ tf->tf_fs = r[SVR4_X86_FS];
+ tf->tf_gs = r[SVR4_X86_GS];
tf->tf_es = r[SVR4_X86_ES];
tf->tf_ds = r[SVR4_X86_DS];
#ifdef VM86
Home |
Main Index |
Thread Index |
Old Index