Index: /trunk/minix/include/minix/callnr.h
===================================================================
--- /trunk/minix/include/minix/callnr.h	(revision 10)
+++ /trunk/minix/include/minix/callnr.h	(revision 11)
@@ -1,3 +1,3 @@
-#define NCALLS		  95	/* number of system calls allowed */
+#define NCALLS		  96	/* number of system calls allowed */
 
 #define EXIT		   1 
@@ -87,2 +87,3 @@
 #define TRUNCATE	  93	/* to FS */
 #define FTRUNCATE	  94	/* to FS */
+#define FOO	  95	/* to PM */
Index: /trunk/minix/servers/fs/table.c
===================================================================
--- /trunk/minix/servers/fs/table.c	(revision 10)
+++ /trunk/minix/servers/fs/table.c	(revision 11)
@@ -113,4 +113,5 @@
 	do_truncate,	/* 93 = truncate */
 	do_ftruncate,	/* 94 = truncate */
+	no_sys,		/* 95 = foo */
 };
 /* This should not fail with "array size is negative": */
Index: /trunk/minix/servers/pm/misc.c
===================================================================
--- /trunk/minix/servers/pm/misc.c	(revision 10)
+++ /trunk/minix/servers/pm/misc.c	(revision 11)
@@ -428,2 +428,7 @@
 }
 
+PUBLIC int do_foo()
+{
+	printf("Foo syscall called!\n");
+	return OK;
+}
Index: /trunk/minix/servers/pm/proto.h
===================================================================
--- /trunk/minix/servers/pm/proto.h	(revision 10)
+++ /trunk/minix/servers/pm/proto.h	(revision 11)
@@ -57,4 +57,5 @@
 
 /* misc.c */
+_PROTOTYPE( int do_foo, (void)					);
 _PROTOTYPE( int do_reboot, (void)					);
 _PROTOTYPE( int do_procstat, (void)					);
Index: /trunk/minix/servers/pm/table.c
===================================================================
--- /trunk/minix/servers/pm/table.c	(revision 10)
+++ /trunk/minix/servers/pm/table.c	(revision 11)
@@ -111,4 +111,5 @@
 	no_sys,		/* 93 = truncate */
 	no_sys,		/* 94 = ftruncate */
+	do_foo,		/* 95 = foo */
 };
 /* This should not fail with "array size is negative": */
