Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Use sys_nomodule for modular rump system calls so t...
details: https://anonhg.NetBSD.org/src/rev/235fbf44f020
branches: trunk
changeset: 754312:235fbf44f020
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Apr 27 10:57:46 2010 +0000
description:
Use sys_nomodule for modular rump system calls so that they can be
autoloaded.
diffstat:
sys/kern/makesyscalls.sh | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r bd438684eee6 -r 235fbf44f020 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh Tue Apr 27 08:37:07 2010 +0000
+++ b/sys/kern/makesyscalls.sh Tue Apr 27 10:57:46 2010 +0000
@@ -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
}
Home |
Main Index |
Thread Index |
Old Index