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 put back the rval[1] microoptimization, t...



details:   https://anonhg.NetBSD.org/src/rev/f88d1ef98352
branches:  trunk
changeset: 500795:f88d1ef98352
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Dec 18 20:40:25 2000 +0000

description:
put back the rval[1] microoptimization, this is no longer used by FreeBSD emulation

diffstat:

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

diffs (27 lines):

diff -r a91f015e322c -r f88d1ef98352 sys/arch/i386/i386/syscall.c
--- a/sys/arch/i386/i386/syscall.c      Mon Dec 18 20:38:27 2000 +0000
+++ b/sys/arch/i386/i386/syscall.c      Mon Dec 18 20:40:25 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.c,v 1.9 2000/12/18 11:37:08 jdolecek Exp $     */
+/*     $NetBSD: syscall.c,v 1.10 2000/12/18 20:40:25 jdolecek Exp $    */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -133,7 +133,7 @@
 #endif /* SYSCALL_DEBUG */
 
        rval[0] = 0;
-       rval[1] = frame.tf_edx; /* need to keep edx for shared FreeBSD bins */
+       rval[1] = 0;
        error = (*callp->sy_call)(p, args, rval);
        switch (error) {
        case 0:
@@ -221,7 +221,7 @@
 #endif /* KTRACE */
 
        rval[0] = 0;
-       rval[1] = frame.tf_edx; /* need to keep edx for shared FreeBSD bins */
+       rval[1] = 0;
        error = (*callp->sy_call)(p, args, rval);
        switch (error) {
        case 0:



Home | Main Index | Thread Index | Old Index