Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Rename "autoloadprefix" variable to "emulname" - su...



details:   https://anonhg.NetBSD.org/src/rev/143952854861
branches:  trunk
changeset: 341958:143952854861
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Dec 01 00:58:29 2015 +0000

description:
Rename "autoloadprefix" variable to "emulname" - suggested by christos@

diffstat:

 sys/kern/makesyscalls.sh |  8 ++++----
 sys/kern/syscalls.conf   |  4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 1c2f943708b3 -r 143952854861 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Tue Dec 01 00:27:17 2015 +0000
+++ b/sys/kern/makesyscalls.sh  Tue Dec 01 00:58:29 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: makesyscalls.sh,v 1.161 2015/12/01 00:25:58 pgoyette Exp $
+#      $NetBSD: makesyscalls.sh,v 1.162 2015/12/01 00:58:29 pgoyette Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -51,7 +51,7 @@
 #      switchname      the name for the 'struct sysent' we define
 #      namesname       the name for the 'const char *[]' we define
 #      constprefix     the prefix for the system call constants
-#      autoloadprefix  the prefix for the autoload table name
+#      emulname        the emulation name
 #      registertype    the type for register_t
 #      nsysent         the size of the sysent table
 #      sys_nosys       [optional] name of function called for unsupported
@@ -166,7 +166,7 @@
        switchname = \"$switchname\"
        namesname = \"$namesname\"
        constprefix = \"$constprefix\"
-       autoloadprefix = \"$autoloadprefix\"
+       emulname = \"$emulname\"
        registertype = \"$registertype\"
        sysalign=\"$sysalign\"
        if (!registertype) {
@@ -258,7 +258,7 @@
        printf " * created from%s\n */\n\n", $0 > sysautoload
        printf "#include <sys/cdefs.h>\n__KERNEL_RCSID(0, \"%s\");\n\n", tag > sysautoload
        printf("#include <sys/proc.h>\n")               > sysautoload
-       printf("static struct sc_autoload " autoloadprefix \
+       printf("static struct sc_autoload " emulname \
                "_syscalls_autoload[] = {\n")           > sysautoload
 
        printf " * created from%s\n */\n\n", $0 > rumpcalls
diff -r 1c2f943708b3 -r 143952854861 sys/kern/syscalls.conf
--- a/sys/kern/syscalls.conf    Tue Dec 01 00:27:17 2015 +0000
+++ b/sys/kern/syscalls.conf    Tue Dec 01 00:58:29 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: syscalls.conf,v 1.25 2015/11/30 22:47:19 pgoyette Exp $
+#      $NetBSD: syscalls.conf,v 1.26 2015/12/01 00:58:29 pgoyette Exp $
 
 sysnames="syscalls.c"
 sysnumhdr="../sys/syscall.h"
@@ -17,5 +17,5 @@
 switchname="sysent"
 namesname="syscallnames"
 constprefix="SYS_"
-autoloadprefix="netbsd"
+emulname="netbsd"
 nsysent=512



Home | Main Index | Thread Index | Old Index