Module Name:    src
Committed By:   pooka
Date:           Tue Apr 27 10:57:47 UTC 2010

Modified Files:
        src/sys/kern: makesyscalls.sh

Log Message:
Use sys_nomodule for modular rump system calls so that they can be
autoloaded.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/kern/makesyscalls.sh

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.94 src/sys/kern/makesyscalls.sh:1.95
--- src/sys/kern/makesyscalls.sh:1.94	Tue Mar  2 19:33:12 2010
+++ src/sys/kern/makesyscalls.sh	Tue Apr 27 10:57:46 2010
@@ -1,5 +1,5 @@
 #! /bin/sh -
-#	$NetBSD: makesyscalls.sh,v 1.94 2010/03/02 19:33:12 pooka Exp $
+#	$NetBSD: makesyscalls.sh,v 1.95 2010/04/27 10:57:46 pooka Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -561,8 +561,11 @@
 
 function printrumpsysent(insysent, compatwrap) {
 	if (!insysent) {
-		printf("\t{ 0, 0, 0,\n\t    %s },\t\t\t/* %d = unrumped */\n", \
-		    "(sy_call_t *)rump_enosys", syscall) > rumpsysent
+		eno[0] = "rump_enosys"
+		eno[1] = "sys_nomodule"
+		printf("\t{ 0, 0, 0,\n\t    (sy_call_t *)%s },\t\t\t"	\
+		    "/* %d = unrumped */\n",				\
+		    eno[modular], syscall) > rumpsysent
 		return
 	}
 

Reply via email to