Ignore:
Timestamp:
Aug 14, 2017, 11:39:03 AM (7 years ago)
Author:
alain
Message:

Change Time unit from cycle to TICK (in millisecond).
Fix several bugs in VFS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/process.c

    r337 r367  
    632632    parent_pid = hal_remote_lw( XPTR( parent_cxy , &parent_ptr->pid ) );
    633633
    634     exec_dmsg("\n[INFO] %s : enters in cluster %x for path = %s\n",
    635                 __FUNCTION__ , local_cxy , path );
     634    exec_dmsg("\n[INFO] %s : thread %x on core[%x,‰d] enters for path = %s\n",
     635    __FUNCTION__, CURRENT_THREAD->trdid, local_cxy, CURRENT_THREAD->core->lid, path );
    636636
    637637    // create new process descriptor
     
    659659    process_reference_init( process , pid , parent_xp );
    660660
    661     exec_dmsg("\n[INFO] %s : created process %x in cluster %x / path = %s\n",
    662                 __FUNCTION__, pid , local_cxy , path );
     661    exec_dmsg("\n[INFO] %s : thread %x on core[%x,‰d] created process %x / path = %s\n",
     662    __FUNCTION__, CURRENT_THREAD->trdid, local_cxy, CURRENT_THREAD->core->lid, pid, path );
    663663
    664664    // initialize vfs_root and vfs_cwd from parent process
     
    676676
    677677    exec_dmsg("\n[INFO] %s : fd_array copied from process %x to process %x\n",
    678                 __FUNCTION__, parent_pid , pid );
     678    __FUNCTION__, parent_pid , pid );
    679679
    680680        // initialize signal manager TODO ??? [AG]
     
    693693        }
    694694
    695     exec_dmsg("\n[INFO] %s : code and data vsegs from <%s> registered for process %x\n",
    696                 __FUNCTION__ , path , pid );
     695    exec_dmsg("\n[INFO] %s : code and data vsegs registered for process %x / path = %s\n",
     696    __FUNCTION__ , pid , path );
    697697
    698698    // select a core in cluster
Note: See TracChangeset for help on using the changeset viewer.