Changeset 101 for trunk/kernel/syscalls/sys_exec.c
- Timestamp:
- Jun 29, 2017, 4:44:52 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_exec.c
r53 r101 225 225 " / target_cluster = %x / cycle %d\n", 226 226 __FUNCTION__, process->pid , CURRENT_CORE->lid, 227 cxy_client, cxy_server, hal_time_stamp()); 228 229 // initialize exec_info structure 230 exec_info.pid = process->pid; 231 exec_info.ppid = process->ppid; 232 exec_info.fd_array_xp = XPTR( local_cxy , &process->fd_array ); 233 exec_info.vfs_root_xp = process->vfs_root_xp; 234 exec_info.vfs_cwd_xp = process->vfs_cwd_xp; 235 exec_info.vfs_bin_xp = process->vfs_bin_xp; 227 cxy_client, cxy_server, hal_get_cycles()); 228 229 // register reference parent process in exec_info 230 exec_info.parent_xp = process->ref_xp; 236 231 237 232 // check pathname and store it in exec_info structure … … 266 261 267 262 exec_dmsg("\n[INFO] %s starts exec for process %x at cycle %d\n", 268 __FUNCTION__, process->pid, hal_ time_stamp() );263 __FUNCTION__, process->pid, hal_get_cycles() ); 269 264 270 265 if( is_local ) error = process_make_exec( &exec_info ); … … 280 275 281 276 exec_dmsg("\n[INFO] %s completes exec for process %x at cycle %d\n", 282 __FUNCTION__, process->pid , hal_ time_stamp() );277 __FUNCTION__, process->pid , hal_get_cycles() ); 283 278 284 279 // delete the calling thread an process
Note: See TracChangeset
for help on using the changeset viewer.