]> Zhao Yanbai Git Server - minix.git/commitdiff
And of course, as much as I've tried to be careful I forgot to add this file in
authorTomas Hruby <tom@minix3.org>
Tue, 9 Feb 2010 15:36:29 +0000 (15:36 +0000)
committerTomas Hruby <tom@minix3.org>
Tue, 9 Feb 2010 15:36:29 +0000 (15:36 +0000)
r6116 :(

lib/syslib/kernel_call.c [new file with mode: 0644]

diff --git a/lib/syslib/kernel_call.c b/lib/syslib/kernel_call.c
new file mode 100644 (file)
index 0000000..04f2b0f
--- /dev/null
@@ -0,0 +1,11 @@
+#include <lib.h>
+#include <minix/syslib.h>
+
+PUBLIC int _kernel_call(int syscallnr, message *msgptr)
+{
+  int status;
+
+  msgptr->m_type = syscallnr;
+  _do_kernel_call(msgptr);
+  return(msgptr->m_type);
+}