Changeset 637 for trunk/kernel/syscalls/sys_display.c
- Timestamp:
- Jul 18, 2019, 2:06:55 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_display.c
r635 r637 122 122 123 123 // copy string to kernel space 124 hal_strcpy_from_uspace( kbuf , string , 512 ); 124 hal_strcpy_from_uspace( XPTR( local_cxy , kbuf ), 125 string, 126 512 ); 125 127 126 128 // print message on TXT0 kernel terminal … … 136 138 137 139 // check cxy argument 138 if( cluster_is_ undefined( cxy ))140 if( cluster_is_active( cxy ) == false ) 139 141 { 140 142 … … 172 174 173 175 // check cxy argument 174 if( cluster_is_ undefined( cxy ))176 if( cluster_is_active( cxy ) == false ) 175 177 { 176 178 … … 213 215 214 216 // check cxy argument 215 if( cluster_is_ undefined( cxy ))217 if( cluster_is_active( cxy ) == false ) 216 218 { 217 219 … … 323 325 324 326 // copy pathname in kernel space 325 hal_strcpy_from_uspace( kbuf , path , CONFIG_VFS_MAX_PATH_LENGTH ); 327 hal_strcpy_from_uspace( XPTR( local_cxy , kbuf ), 328 path, 329 CONFIG_VFS_MAX_PATH_LENGTH ); 326 330 327 331 // compute root inode for pathname … … 447 451 uint32_t cxy = (uint32_t)arg0; 448 452 449 if( cluster_is_ undefined( cxy ))453 if( cluster_is_active( cxy ) == false ) 450 454 { 451 455
Note: See TracChangeset
for help on using the changeset viewer.