Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Add proc->md->fpstate and GSR to fp...



details:   https://anonhg.NetBSD.org/src/rev/5f5ca336de91
branches:  trunk
changeset: 480032:5f5ca336de91
user:      eeh <eeh%NetBSD.org@localhost>
date:      Thu Dec 30 16:35:25 1999 +0000

description:
Add proc->md->fpstate and GSR to fpstate.

diffstat:

 sys/arch/sparc64/sparc64/genassym.c  |  4 +++-
 sys/arch/sparc64/sparc64/genassym.cf |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r 0ca65144ece1 -r 5f5ca336de91 sys/arch/sparc64/sparc64/genassym.c
--- a/sys/arch/sparc64/sparc64/genassym.c       Thu Dec 30 16:34:02 1999 +0000
+++ b/sys/arch/sparc64/sparc64/genassym.c       Thu Dec 30 16:35:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: genassym.c,v 1.11 1999/11/06 20:18:50 eeh Exp $ */
+/*     $NetBSD: genassym.c,v 1.12 1999/12/30 16:35:25 eeh Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -123,6 +123,7 @@
        off("P_WCHAN", struct proc, p_wchan);
        off("P_VMSPACE", struct proc, p_vmspace);
        off("P_PID", struct proc, p_pid);
+       off("P_FPSTATE", struct proc, p_md.md_fpstate);
        def("SRUN", SRUN);
 
        /* user struct stuff */
@@ -144,6 +145,7 @@
        /* FPU state */
        off("FS_REGS", struct fpstate64, fs_regs);
        off("FS_FSR", struct fpstate64, fs_fsr);
+       off("FS_GSR", struct fpstate64, fs_gsr);
        off("FS_QSIZE", struct fpstate64, fs_qsize);
        off("FS_QUEUE", struct fpstate64, fs_queue);
        siz("FS_SIZE", struct fpstate64);
diff -r 0ca65144ece1 -r 5f5ca336de91 sys/arch/sparc64/sparc64/genassym.cf
--- a/sys/arch/sparc64/sparc64/genassym.cf      Thu Dec 30 16:34:02 1999 +0000
+++ b/sys/arch/sparc64/sparc64/genassym.cf      Thu Dec 30 16:35:25 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.12 1999/11/06 20:18:50 eeh Exp $
+#      $NetBSD: genassym.cf,v 1.13 1999/12/30 16:35:25 eeh Exp $
 
 #
 # Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -124,6 +124,7 @@
 define P_WCHAN         offsetof(struct proc, p_wchan)
 define P_VMSPACE       offsetof(struct proc, p_vmspace)
 define P_PID           offsetof(struct proc, p_pid)
+define P_FPSTATE       offsetof(struct proc, p_md.md_fpstate)
 define SRUN            SRUN
 
 # user structure fields
@@ -150,6 +151,7 @@
 # FPU state
 define FS_REGS         offsetof(struct fpstate64, fs_regs)
 define FS_FSR          offsetof(struct fpstate64, fs_fsr)
+define FS_GSR          offsetof(struct fpstate64, fs_gsr)
 define FS_QSIZE        offsetof(struct fpstate64, fs_qsize)
 define FS_QUEUE        offsetof(struct fpstate64, fs_queue)
 define FS_SIZE         sizeof(struct fpstate64)



Home | Main Index | Thread Index | Old Index