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 the call to emulation-specific syscall fu...



details:   https://anonhg.NetBSD.org/src/rev/a27d648f9834
branches:  trunk
changeset: 500292:a27d648f9834
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Dec 09 12:57:17 2000 +0000

description:
the call to emulation-specific syscall function will be handled differently,
don't do it explicitly

diffstat:

 sys/arch/i386/i386/trap.c |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (21 lines):

diff -r b754225bad63 -r a27d648f9834 sys/arch/i386/i386/trap.c
--- a/sys/arch/i386/i386/trap.c Sat Dec 09 12:45:44 2000 +0000
+++ b/sys/arch/i386/i386/trap.c Sat Dec 09 12:57:17 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.149 2000/12/09 11:21:52 jdolecek Exp $      */
+/*     $NetBSD: trap.c,v 1.150 2000/12/09 12:57:17 jdolecek Exp $      */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -562,11 +562,6 @@
        p = curproc;
        p->p_md.md_regs = &frame;
 
-       if (p->p_emul->e_syscall) {
-               p->p_emul->e_syscall(&frame);
-               return;
-       }
-
        sticks = p->p_sticks;
        code = frame.tf_eax;
 



Home | Main Index | Thread Index | Old Index