Index: trunk/kernel/syscalls/syscalls.h
===================================================================
--- trunk/kernel/syscalls/syscalls.h	(revision 527)
+++ trunk/kernel/syscalls/syscalls.h	(revision 566)
@@ -36,7 +36,4 @@
 struct mmap_attr_s;               // defined in vmm.h
 
-// debug:
-const char * syscall_str( syscalls_t index );
-
 /****************************************************************************************** 
  * [0] This function terminates the execution of the calling user thread, 
@@ -67,5 +64,5 @@
  * on astructure containing the thread attributes, defined in thread.h file.
  ******************************************************************************************
- * @ new_thread  : [out] local pointer on created thread descriptor.
+ * @ trdid_ptr   : [out] pointer on buffer for created thread trdid.
  * @ user_attr   : [in]  pointer on thread attributes structure.
  * @ start_func  : [in]  pointer on start function.
@@ -73,9 +70,8 @@
  * @ return 0 if success / return -1 if failure.
  *****************************************************************************************/
-int sys_thread_create(
-  struct thread_s             * new_thread,
-  const struct pthread_attr_s * user_attr,
-  const void                  * start_func,
-  const void                  * start_args );
+int sys_thread_create( trdid_t               * trdid_ptr,
+                       struct pthread_attr_s * user_attr,
+                       void                  * start_func,
+                       void                  * start_args );
 
 /****************************************************************************************** 
@@ -133,6 +129,6 @@
 /****************************************************************************************** 
  * [7] This function implement all operations on a POSIX condition variable.
- * The kernel structure representing a cond_var is defined in the remote_cv.h file,
- * The code implementing the operations is defined in the remote_cv.c file.
+ * The kernel structure representing a condvar is defined in the remote_condvar.h file,
+ * The code implementing the operations is defined in the remote_condvar.c file.
  ******************************************************************************************
  * @ vaddr     : condvar virtual address in user space == identifier.
@@ -205,5 +201,5 @@
  * @ return file descriptor index in fd_array if success / return -1 if failure.
  *****************************************************************************************/
-int sys_open( const char * pathname,
+int sys_open( char       * pathname,
               uint32_t     flags,
               uint32_t     mode );
@@ -280,5 +276,5 @@
  * @ return 0 if success / returns -1 if failure.
  *****************************************************************************************/
-int sys_unlink( const char * pathname );
+int sys_unlink( char * pathname );
 
 /****************************************************************************************** 
@@ -299,5 +295,5 @@
  * @ return 0 if success / returns -1 if failure.
  *****************************************************************************************/
-int sys_chdir( const char * pathname );
+int sys_chdir( char * pathname );
 
 /****************************************************************************************** 
@@ -387,5 +383,5 @@
  * @ return 0 if success / returns -1 if failure.
  *****************************************************************************************/
-int sys_rmdir( const char * pathname );
+int sys_rmdir( char * pathname );
 
 /****************************************************************************************** 
@@ -408,5 +404,5 @@
  * @ return 0 if success / returns -1 if failure.
  *****************************************************************************************/
-int sys_chmod( const char * pathname,
+int sys_chmod( char       * pathname,
                uint32_t     rights );
 
@@ -494,7 +490,7 @@
  * @ does not return if success / returns -1 if failure.
  *****************************************************************************************/
-int sys_exec( const char  * filename,
-              char        ** argv,
-              char        ** envp );
+int sys_exec( char  * filename,
+              char ** argv,
+              char ** envp );
 
 /****************************************************************************************** 
@@ -506,5 +502,5 @@
  * @ returns O if success / returns -1 if failure.
  *****************************************************************************************/
-int sys_stat( const char  * pathname,
+int sys_stat( char        * pathname,
               struct stat * stat );
 
@@ -538,5 +534,4 @@
  * @ x_size   : [out] number of clusters in a row.
  * @ y_size   : [out] number of clusters in a column.
- * @ y_width  : [out] number of bits in Y field for CXY.
  * @ ncores   : [out] number of cores per cluster.
  * @ return 0 if success / return -1 if illegal arguments
@@ -544,5 +539,4 @@
 int sys_get_config( uint32_t * x_size,
                     uint32_t * y_size,
-                    uint32_t * y_width,
                     uint32_t * ncores );
 
