Source-Changes-HG archive

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

[src/nathanw_sa]: src/sys/arch/m68k/m68k Declare m68k_cached_fpu_idle_frame i...



details:   https://anonhg.NetBSD.org/src/rev/66aff585c0d0
branches:  nathanw_sa
changeset: 505425:66aff585c0d0
user:      scw <scw%NetBSD.org@localhost>
date:      Sun Dec 02 12:40:47 2001 +0000

description:
Declare m68k_cached_fpu_idle_frame in sig_machdep.c instead of switch_subr.s.
Saves having to update all the genassym.cf's for the sizeof the structure.

diffstat:

 sys/arch/m68k/m68k/sig_machdep.c |  3 ++-
 sys/arch/m68k/m68k/switch_subr.s |  5 +----
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r b1b24e6f206f -r 66aff585c0d0 sys/arch/m68k/m68k/sig_machdep.c
--- a/sys/arch/m68k/m68k/sig_machdep.c  Sun Dec 02 12:30:30 2001 +0000
+++ b/sys/arch/m68k/m68k/sig_machdep.c  Sun Dec 02 12:40:47 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sig_machdep.c,v 1.15.6.8 2001/12/02 10:47:29 scw Exp $ */
+/*     $NetBSD: sig_machdep.c,v 1.15.6.9 2001/12/02 12:40:47 scw Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -68,6 +68,7 @@
 
 extern int fputype;
 extern short exframesize[];
+struct fpframe m68k_cached_fpu_idle_frame;
 void   m68881_save __P((struct fpframe *));
 void   m68881_restore __P((struct fpframe *));
 
diff -r b1b24e6f206f -r 66aff585c0d0 sys/arch/m68k/m68k/switch_subr.s
--- a/sys/arch/m68k/m68k/switch_subr.s  Sun Dec 02 12:30:30 2001 +0000
+++ b/sys/arch/m68k/m68k/switch_subr.s  Sun Dec 02 12:40:47 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: switch_subr.s,v 1.1.2.4 2001/12/02 10:43:01 scw Exp $  */
+/*     $NetBSD: switch_subr.s,v 1.1.2.5 2001/12/02 12:40:47 scw Exp $  */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation.
@@ -529,6 +529,3 @@
        fnop
        addql   #4,%sp
        rts
-
-BSS(m68k_cached_fpu_idle_frame,FPF_SIZE)
-



Home | Main Index | Thread Index | Old Index