Source-Changes-HG archive

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

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/i386 Use revised npxsave interface.



details:   https://anonhg.NetBSD.org/src/rev/cedd2b33cc3d
branches:  sommerfeld_i386mp_1
changeset: 482265:cedd2b33cc3d
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Fri Aug 18 13:39:14 2000 +0000

description:
Use revised npxsave interface.

diffstat:

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

diffs (27 lines):

diff -r 43a64aaec903 -r cedd2b33cc3d sys/arch/i386/i386/process_machdep.c
--- a/sys/arch/i386/i386/process_machdep.c      Fri Aug 18 13:38:36 2000 +0000
+++ b/sys/arch/i386/i386/process_machdep.c      Fri Aug 18 13:39:14 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: process_machdep.c,v 1.30.10.2 2000/08/07 01:08:49 sommerfeld Exp $     */
+/*     $NetBSD: process_machdep.c,v 1.30.10.3 2000/08/18 13:39:14 sommerfeld Exp $     */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -147,7 +147,7 @@
 
        if (p->p_md.md_flags & MDP_USEDFPU) {
 #if NNPX > 0
-               npxsave_proc(p);
+               npxsave_proc(p, 1);
 #endif
        } else {
                u_short cw;
@@ -248,7 +248,7 @@
 
        if (p->p_md.md_flags & MDP_USEDFPU) {
 #if NNPX > 0
-               npxdrop(p);
+               npxsave_proc(p, 0);
 #endif
        } else {
                p->p_md.md_flags |= MDP_USEDFPU;



Home | Main Index | Thread Index | Old Index