aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mach/syscalls.awk')
-rw-r--r--mach/syscalls.awk9
1 files changed, 9 insertions, 0 deletions
diff --git a/mach/syscalls.awk b/mach/syscalls.awk
new file mode 100644
index 0000000000..dec8a3b537
--- /dev/null
+++ b/mach/syscalls.awk
@@ -0,0 +1,9 @@
+BEGIN { calls="" }
+
+{
+ calls = calls " " $1;
+ print "sysno-" $1 " = " $2;
+ print "nargs-" $1 " = " $3;
+}
+
+END { print "mach-syscalls := " calls }