Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/include Remove private kernel members from `s...



details:   https://anonhg.NetBSD.org/src/rev/9ac491e37f05
branches:  trunk
changeset: 480041:9ac491e37f05
user:      pk <pk%NetBSD.org@localhost>
date:      Thu Dec 30 23:59:29 1999 +0000

description:
Remove private kernel members from `struct fpreg'; update accompanying comment.

diffstat:

 sys/arch/sparc/include/reg.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r ba91d4577cf8 -r 9ac491e37f05 sys/arch/sparc/include/reg.h
--- a/sys/arch/sparc/include/reg.h      Thu Dec 30 23:53:42 1999 +0000
+++ b/sys/arch/sparc/include/reg.h      Thu Dec 30 23:59:29 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: reg.h,v 1.4 1994/11/20 20:53:28 deraadt Exp $ */
+/*     $NetBSD: reg.h,v 1.5 1999/12/30 23:59:29 pk Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -114,13 +114,13 @@
 };
 
 /*
- * Clone fpstate into an fpreg structure to satisfy <kern/sys_process.c>
+ * The actual FP registers are made accessable (c.f. ptrace(2)) through
+ * a `struct fpreg'; <arch/sparc/sparc/process_machdep.c> relies on the
+ * fact that `fpreg' is a prefix of `fpstate'.
  */
 struct fpreg {
        u_int   fr_regs[32];            /* our view is 32 32-bit registers */
        int     fr_fsr;                 /* %fsr */
-       int     fr_qsize;               /* actual queue depth */
-       struct  fp_qentry fr_queue[FP_QSIZE];   /* queue contents */
 };
 
 #endif /* _MACHINE_REG_H_ */



Home | Main Index | Thread Index | Old Index