Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/include Add defines for the rest of fasttraps ...



details:   https://anonhg.NetBSD.org/src/rev/bc8ee70cee22
branches:  trunk
changeset: 516840:bc8ee70cee22
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Oct 31 18:20:13 2001 +0000

description:
Add defines for the rest of fasttraps as defined on Solaris8/i386. For
documentation purposes only (though CLOCK_SETTIME a.k.a T_GETHRESTIME
shouldn't be too hard to implement).

diffstat:

 sys/arch/i386/include/svr4_machdep.h |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r 815ba69d4d1c -r bc8ee70cee22 sys/arch/i386/include/svr4_machdep.h
--- a/sys/arch/i386/include/svr4_machdep.h      Wed Oct 31 18:17:56 2001 +0000
+++ b/sys/arch/i386/include/svr4_machdep.h      Wed Oct 31 18:20:13 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_machdep.h,v 1.12 2000/12/11 05:29:00 mycroft Exp $         */
+/*     $NetBSD: svr4_machdep.h,v 1.13 2001/10/31 18:20:13 jdolecek Exp $        */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -121,9 +121,13 @@
 /*
  * Fast syscall gate traps.
  */
-#define        SVR4_TRAP_GETHRTIME     3
-#define        SVR4_TRAP_GETHRVTIME    4
-#define        SVR4_TRAP_CLOCK_SETTIME 5
+#define        SVR4_TRAP_FNULL         0       /* Null trap, for testing */
+#define        SVR4_TRAP_FGETFP        1       /* Get emulated FP context */
+#define        SVR4_TRAP_FSETFP        2       /* Set emulated FP context */
+#define        SVR4_TRAP_GETHRTIME     3       /* implements gethrtime(2) */
+#define        SVR4_TRAP_GETHRVTIME    4       /* implements gethrvtime(2) */
+#define        SVR4_TRAP_CLOCK_SETTIME 5       /* implements clock_settime(2) */
+                                       /* Solaris calls this T_GETHRESTIME */
 
 void svr4_syscall_intern __P((struct proc *));
 



Home | Main Index | Thread Index | Old Index