Module Name: src
Committed By: pgoyette
Date: Tue Dec 1 00:58:29 UTC 2015
Modified Files:
src/sys/kern: makesyscalls.sh syscalls.conf
Log Message:
Rename "autoloadprefix" variable to "emulname" - suggested by christos@
To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.162 src/sys/kern/makesyscalls.sh
cvs rdiff -u -r1.25 -r1.26 src/sys/kern/syscalls.conf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/makesyscalls.sh
diff -u src/sys/kern/makesyscalls.sh:1.161 src/sys/kern/makesyscalls.sh:1.162
--- src/sys/kern/makesyscalls.sh:1.161 Tue Dec 1 00:25:58 2015
+++ src/sys/kern/makesyscalls.sh Tue Dec 1 00:58:29 2015
@@ -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 @@ esac
# 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 @@ BEGIN {
switchname = \"$switchname\"
namesname = \"$namesname\"
constprefix = \"$constprefix\"
- autoloadprefix = \"$autoloadprefix\"
+ emulname = \"$emulname\"
registertype = \"$registertype\"
sysalign=\"$sysalign\"
if (!registertype) {
@@ -258,7 +258,7 @@ NR == 1 {
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
Index: src/sys/kern/syscalls.conf
diff -u src/sys/kern/syscalls.conf:1.25 src/sys/kern/syscalls.conf:1.26
--- src/sys/kern/syscalls.conf:1.25 Mon Nov 30 22:47:19 2015
+++ src/sys/kern/syscalls.conf Tue Dec 1 00:58:29 2015
@@ -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 @@ libcompatopts=""
switchname="sysent"
namesname="syscallnames"
constprefix="SYS_"
-autoloadprefix="netbsd"
+emulname="netbsd"
nsysent=512