Ignore:
Timestamp:
Aug 29, 2017, 12:03:37 PM (4 years ago)
Author:
alain
Message:

This version executed successfully the user "init" process on a mono-processor TSAR architecture.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/sys_fork.c

    r101 r406  
    6363        }
    6464
    65         fork_dmsg("\n[INFO] %s : enters for process %d at cycle [%d]\n",
     65        fork_dmsg("\n[DMSG] %s : enters for process %d at cycle [%d]\n",
    6666                  __FUNCTION__, parent_process->pid, hal_get_cycles());
    6767
     
    7171        {
    7272                hal_fpu_context_save( parent_thread );
    73                 fork_dmsg("\n[INFO] %s : save FPU\n", __FUNCTION__);
     73                fork_dmsg("\n[DMSG] %s : save FPU\n", __FUNCTION__);
    7474        }
    7575
     
    129129    process_reference_init( child_process , child_pid , parent_pid );
    130130
    131         fork_dmsg("\n[INFO] : %s created child process : pid = %x / ppid = %x\n",
     131        fork_dmsg("\n[DMSG] : %s created child process : pid = %x / ppid = %x\n",
    132132              __FUNCTION__, child_pid , parent_pid );
    133133
     
    148148                            XPTR( local_cxy , &parent_process->fd_array ) );
    149149
    150         fork_dmsg("\n[INFO] %s : duplicated child process from parent process\n",
     150        fork_dmsg("\n[DMSG] %s : duplicated child process from parent process\n",
    151151                  __FUNCTION__ );
    152152
     
    162162    }
    163163 
    164         fork_dmsg("\n[INFO] %s : parent vmm duplicated in child process\n", __FUNCTION__ );
     164        fork_dmsg("\n[DMSG] %s : parent vmm duplicated in child process\n", __FUNCTION__ );
    165165
    166166    // create child main thread descriptor in local cluster
     
    197197    child_thread->trdid   = child_trdid;
    198198
    199         fork_dmsg("\n[INFO] %s : initialised child main thread\n", __FUNCTION__ );
     199        fork_dmsg("\n[DMSG] %s : initialised child main thread\n", __FUNCTION__ );
    200200
    201201    // register local child thread into local child process th_tbl[]
     
    208208        sched_register_thread( child_thread->core , child_thread );
    209209 
    210         fork_dmsg("\n[INFO] %s : registered main thread in scheduler\n", __FUNCTION__);
     210        fork_dmsg("\n[DMSG] %s : registered main thread in scheduler\n", __FUNCTION__);
    211211
    212212        // update DQDT for the child thread
    213213    dqdt_local_update_threads( 1 );
    214214
    215         fork_dmsg("\n[INFO] %s : completed / parent pid = %x / child pid = %x / at cycle [%d]\n",
     215        fork_dmsg("\n[DMSG] %s : completed / parent pid = %x / child pid = %x / at cycle [%d]\n",
    216216                  __FUNCTION__, parent_process->pid, child_process->pid, hal_get_cycles() );
    217217
Note: See TracChangeset for help on using the changeset viewer.