Index: /soft/giet_vm/giet_libs/stdio.c
===================================================================
--- /soft/giet_vm/giet_libs/stdio.c	(revision 688)
+++ /soft/giet_vm/giet_libs/stdio.c	(revision 689)
@@ -92,4 +92,11 @@
 {
     sys_call( SYSCALL_CTX_SWITCH,
+              0, 0, 0, 0 );
+}
+
+////////////////////////
+void giet_tasks_status()
+{
+    sys_call( SYSCALL_TASKS_STATUS,
               0, 0, 0, 0 );
 }
@@ -512,30 +519,4 @@
     }
 } // end giet_tty_printf()
-
-////////////////////////////////////////
-void giet_shr_printf( char* format, ...) 
-{
-    va_list args;
-    volatile unsigned int sr_save;
-
-    sys_call( SYSCALL_TTY_GET_LOCK,
-              0,
-              (unsigned int)&sr_save,
-              0, 0 );
-
-    va_start( args, format );
-    int ret = __printf(format, 0, &args);
-    va_end( args );
-
-    sys_call( SYSCALL_TTY_RELEASE_LOCK,
-              0,
-              (unsigned int)&sr_save,
-              0, 0 );
-
-    if (ret)
-    {
-        giet_exit("error in giet_shr_printf()");
-    }
-} // end giet_shr_printf()
 
 /////////////////////////////////
Index: /soft/giet_vm/giet_libs/stdio.h
===================================================================
--- /soft/giet_vm/giet_libs/stdio.h	(revision 688)
+++ /soft/giet_vm/giet_libs/stdio.h	(revision 689)
@@ -23,6 +23,6 @@
 #define SYSCALL_TTY_READ             0x03
 #define SYSCALL_TTY_ALLOC            0x04
-#define SYSCALL_TTY_GET_LOCK         0x05
-#define SYSCALL_TTY_RELEASE_LOCK     0x06
+#define SYSCALL_TASKS_STATUS         0x05
+//                                   0x06
 #define SYSCALL_HEAP_INFO            0x07
 #define SYSCALL_LOCAL_TASK_ID        0x08
@@ -168,4 +168,6 @@
 extern void giet_context_switch();
 
+extern void giet_tasks_status();
+
 //////////////////////////////////////////////////////////////////////////
 //               Application related system calls
