Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/include/rump grab ioctl-related macros
details: https://anonhg.NetBSD.org/src/rev/aa015c49fdbc
branches: trunk
changeset: 787601:aa015c49fdbc
user: stacktic <stacktic%NetBSD.org@localhost>
date: Tue Jun 25 21:06:39 2013 +0000
description:
grab ioctl-related macros
diffstat:
sys/rump/include/rump/makerumpdefs.sh | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r a3c3b79c2b38 -r aa015c49fdbc sys/rump/include/rump/makerumpdefs.sh
--- a/sys/rump/include/rump/makerumpdefs.sh Tue Jun 25 19:38:54 2013 +0000
+++ b/sys/rump/include/rump/makerumpdefs.sh Tue Jun 25 21:06:39 2013 +0000
@@ -8,7 +8,7 @@
rm -f rumpdefs.h
exec > rumpdefs.h
-printf '/* $NetBSD: makerumpdefs.sh,v 1.17 2013/06/01 09:49:37 stacktic Exp $ */\n\n'
+printf '/* $NetBSD: makerumpdefs.sh,v 1.18 2013/06/25 21:06:39 stacktic 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'
@@ -79,6 +79,13 @@
fromvers ../../../sys/fstypes.h
sed -n '/#define[ ]*MNT_[A-Z].*[^\]$/s/MNT_/RUMP_MNT_/gp' <../../../sys/fstypes.h | sed 's,/\*.*$,,'
+fromvers ../../../sys/ioccom.h
+sed -n '/#define[ ]*IOC[A-Z_]/s/IOC/RUMP_&/gp' <../../../sys/ioccom.h | sed 's,/\*.*$,,'
+sed -n '/#define[ ]*_IO.*\\$/{:t;N;/\\$/bt;s/_IOC/_RUMP_IOC/g;s/IOC[A-Z]/RUMP_&/gp}' <../../../sys/ioccom.h \
+ | sed 's,/\*.*$,,'
+sed -n '/#define[ ]*_IO.*[^\]$/{s/_IO/_RUMP_IO/g;s/IOC_/RUMP_IOC_/gp}' <../../../sys/ioccom.h \
+ | sed 's,/\*.*$,,'
+
fromvers ../../../sys/module.h
getstruct ../../../sys/module.h modctl_load
Home |
Main Index |
Thread Index |
Old Index