Module Name: src
Committed By: pooka
Date: Sun Nov 18 19:03:43 UTC 2012
Modified Files:
src/sys/rump/include/rump: makerumpdefs.sh
Log Message:
While mucking in here, give the [local] client a chance to access all
rump kernel (i.e. NetBSD) errnos, not just EJUSTRETURN.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/rump/include/rump/makerumpdefs.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/rump/include/rump/makerumpdefs.sh
diff -u src/sys/rump/include/rump/makerumpdefs.sh:1.8 src/sys/rump/include/rump/makerumpdefs.sh:1.9
--- src/sys/rump/include/rump/makerumpdefs.sh:1.8 Sun Nov 18 18:39:23 2012
+++ src/sys/rump/include/rump/makerumpdefs.sh Sun Nov 18 19:03:43 2012
@@ -8,7 +8,7 @@ echo Generating rumpdefs.h
rm -f rumpdefs.h
exec > rumpdefs.h
-printf '/* $NetBSD: makerumpdefs.sh,v 1.8 2012/11/18 18:39:23 pooka Exp $ */\n\n'
+printf '/* $NetBSD: makerumpdefs.sh,v 1.9 2012/11/18 19:03:43 pooka Exp $ */\n\n'
printf '/*\n *\tAUTOMATICALLY GENERATED. DO NOT EDIT.\n */\n\n'
printf '#ifndef _RUMP_RUMPDEFS_H_\n'
printf '#define _RUMP_RUMPDEFS_H_\n\n'
@@ -46,9 +46,7 @@ sed -n '/#define.*LK_[A-Z]/s/LK_/RUMP_LK
| sed 's,/\*.*$,,'
fromvers ../../../sys/errno.h
-printf '#ifndef EJUSTRETURN\n'
-sed -n '/EJUSTRETURN/p' < ../../../sys/errno.h
-printf '#endif /* EJUSTRETURN */\n'
+sed -n '/#define[ ]*E/s/E[A-Z]*/RUMP_&/p' < ../../../sys/errno.h
fromvers ../../../sys/reboot.h
sed -n '/#define.*RB_[A-Z]/s/RB_/RUMP_RB_/gp' <../../../sys/reboot.h \