Ignore:
Timestamp:
Aug 29, 2017, 12:03:37 PM (7 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/kern/thread.c

    r374 r406  
    221221    vseg_t       * vseg;         // stack vseg
    222222
    223     thread_dmsg("\n[INFO] %s : enters for process %x\n", __FUNCTION__ , pid );
     223    thread_dmsg("\n[DMSG] %s : enters for process %x\n", __FUNCTION__ , pid );
    224224
    225225    // get process descriptor local copy
     
    311311    }
    312312
    313     thread_dmsg("\n[INFO] %s : exit / trdid = %x / process %x / core = %d\n",
     313    thread_dmsg("\n[DMSG] %s : exit / trdid = %x / process %x / core = %d\n",
    314314                __FUNCTION__ , thread->trdid , process->pid , core_lid );
    315315
     
    328328        vseg_t       * vseg;         // stack vseg
    329329
    330     thread_dmsg("\n[INFO] %s : enters\n", __FUNCTION__ );
     330    thread_dmsg("\n[DMSG] %s : enters\n", __FUNCTION__ );
    331331
    332332    // allocate a stack from local VMM
     
    398398    }
    399399
    400     thread_dmsg("\n[INFO] %s : exit / thread %x for process %x on core %d in cluster %x\n",
     400    thread_dmsg("\n[DMSG] %s : exit / thread %x for process %x on core %d in cluster %x\n",
    401401                 __FUNCTION__, thread->trdid, process->pid, core_lid, local_cxy );
    402402
     
    416416        thread_t     * thread;       // pointer on new thread descriptor
    417417
    418     thread_dmsg("\n[INFO] %s : enter / for type %s on core[%x,%d] / cycle %d\n",
     418    thread_dmsg("\n[DMSG] %s : enter / for type %s on core[%x,%d] / cycle %d\n",
    419419    __FUNCTION__ , thread_type_str( type ) , local_cxy , core_lid , hal_time_stamp() );
    420420
     
    449449        hal_cpu_context_create( thread );
    450450
    451     thread_dmsg("\n[INFO] %s : exit / trdid = %x / type = %s / core = [%x,%d] / cycle %d\n",
     451    thread_dmsg("\n[DMSG] %s : exit / trdid = %x / type = %s / core = [%x,%d] / cycle %d\n",
    452452    __FUNCTION__ , thread->trdid , thread_type_str(type) ,
    453453    local_cxy , core_lid , hal_time_stamp() );
     
    502502    core_t     * core       = thread->core;
    503503
    504     thread_dmsg("\n[INFO] %s : enters for thread %x in process %x / type = %s\n",
     504    thread_dmsg("\n[DMSG] %s : enters for thread %x in process %x / type = %s\n",
    505505                __FUNCTION__ , thread->trdid , process->pid , thread_type_str( thread->type ) );
    506506
     
    556556        tm_end = hal_get_cycles();
    557557
    558         thread_dmsg("\n[INFO] %s : exit for thread %x in process %x / duration = %d\n",
     558        thread_dmsg("\n[DMSG] %s : exit for thread %x in process %x / duration = %d\n",
    559559                       __FUNCTION__, thread->trdid , process->pid , tm_end - tm_start );
    560560}
     
    732732    while( 1 )
    733733    {
    734         idle_dmsg("\n[INFO] %s : core[%x][%d] goes to sleep at cycle %d\n",
     734        idle_dmsg("\n[DMSG] %s : core[%x][%d] goes to sleep at cycle %d\n",
    735735                    __FUNCTION__ , local_cxy , lid , hal_get_cycles() );
    736736
     
    738738        //hal_core_sleep();
    739739
    740         idle_dmsg("\n[INFO] %s : core[%x][%d] wake up at cycle %d\n",
     740        idle_dmsg("\n[DMSG] %s : core[%x][%d] wake up at cycle %d\n",
    741741                    __FUNCTION__ , local_cxy , lid , hal_get_cycles() );
    742742
Note: See TracChangeset for help on using the changeset viewer.