Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Update wrong and obsolete comments.



details:   https://anonhg.NetBSD.org/src/rev/8df75b976e97
branches:  trunk
changeset: 934260:8df75b976e97
user:      dholland <dholland%NetBSD.org@localhost>
date:      Tue Jun 09 04:48:45 2020 +0000

description:
Update wrong and obsolete comments.

... when you change the set of syscalls.conf keywords this thing
recognizes, updating the documentation too (which AFAIK is limited to
the comment in here) is always helpful ...

diffstat:

 sys/kern/makesyscalls.sh |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 2a9f25cd479d -r 8df75b976e97 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Tue Jun 09 01:48:17 2020 +0000
+++ b/sys/kern/makesyscalls.sh  Tue Jun 09 04:48:45 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: makesyscalls.sh,v 1.178 2020/06/02 16:45:42 kamil Exp $
+#      $NetBSD: makesyscalls.sh,v 1.179 2020/06/09 04:48:45 dholland Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -47,6 +47,8 @@
 #      syssw           the syscall switch file
 #      sysautoload     the syscall autoload definitions file
 #      sysarghdr       the syscall argument struct definitions
+#      sysarghdrextra  extra stuff dumped into sysarghdr
+#      systrace        the dtrace definitions
 #      compatopts      those syscall types that are for 'compat' syscalls
 #      switchname      the name for the 'struct sysent' we define
 #      namesname       the name for the 'const char *[]' we define
@@ -57,6 +59,9 @@
 #      sys_nosys       [optional] name of function called for unsupported
 #                      syscalls, if not sys_nosys()
 #       maxsysargs     [optiona] the maximum number or arguments
+#      rumpcalls       ???
+#      rumpcallshdr    ???
+#      rumpsysmap      ???
 #
 # NOTE THAT THIS makesyscalls.sh DOES NOT SUPPORT 'SYSLIBCOMPAT'.
 
@@ -143,7 +148,7 @@
 fi
 
 # before handing it off to awk, make a few adjustments:
-#      (1) insert spaces around {, }, (, ), *, and commas.
+#      (1) insert spaces around {, }, (, ), *, |, and commas.
 #      (2) get rid of any and all dollar signs (so that rcs id use safe)
 #
 # The awk script will deal with blank lines and lines that



Home | Main Index | Thread Index | Old Index