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/kern/scheduler.c

    r374 r406  
    154154    scheduler_t * sched = &core->scheduler;
    155155
    156     sched_dmsg("\n[INFO] %s : enter core[%x,%d] / cycle %d\n",
     156    sched_dmsg("\n[DMSG] %s : enter core[%x,%d] / cycle %d\n",
    157157    __FUNCTION__ , local_cxy , core->lid , hal_time_stamp() );
    158158
     
    185185                spinlock_unlock( &sched->lock );
    186186
    187                 sched_dmsg("\n[INFO] %s : exit core[%x,%d] / k_thread = %x / cycle %d\n",
     187                sched_dmsg("\n[DMSG] %s : exit core[%x,%d] / k_thread = %x / cycle %d\n",
    188188                __FUNCTION__ , local_cxy , core->lid , thread->trdid , hal_time_stamp() );
    189189
     
    216216                spinlock_unlock( &sched->lock );
    217217
    218                 sched_dmsg("\n[INFO] %s : exit core[%x,%d] / u_thread = %x / cycle %d\n",
     218                sched_dmsg("\n[DMSG] %s : exit core[%x,%d] / u_thread = %x / cycle %d\n",
    219219                __FUNCTION__ , local_cxy , core->lid , thread->trdid , hal_time_stamp() );
    220220                return thread;
     
    227227    spinlock_unlock( &sched->lock );
    228228
    229     sched_dmsg("\n[INFO] %s : exit core[%x,%d] / idle = %x / cycle %d\n",
     229    sched_dmsg("\n[DMSG] %s : exit core[%x,%d] / idle = %x / cycle %d\n",
    230230    __FUNCTION__ , local_cxy , core->lid , sched->idle->trdid , hal_time_stamp() );
    231231
     
    242242    scheduler_t  * sched = &core->scheduler;
    243243
    244     sched_dmsg("\n[INFO] %s : enter / thread %x on core[%x,%d]\n",
     244    sched_dmsg("\n[DMSG] %s : enter / thread %x on core[%x,%d]\n",
    245245    __FUNCTION__, CURRENT_THREAD->trdid , local_cxy , core->lid );
    246246
     
    265265    spinlock_unlock( &sched->lock );
    266266
    267     sched_dmsg("\n[INFO] %s : exit / thread %x on core[%x,%d]\n",
     267    sched_dmsg("\n[DMSG] %s : exit / thread %x on core[%x,%d]\n",
    268268    __FUNCTION__, CURRENT_THREAD->trdid , local_cxy , core->lid );
    269269
     
    279279    scheduler_t * sched   = &core->scheduler;
    280280
    281     sched_dmsg("\n[INFO] %s : thread %x on core[%x,%d] enter / cycle %d\n",
     281    sched_dmsg("\n[DMSG] %s : thread %x on core[%x,%d] enter / cycle %d\n",
    282282    __FUNCTION__, current->trdid, local_cxy, core->lid, hal_time_stamp() );
    283283
     
    304304        if( next != current )
    305305    {
    306         sched_dmsg("\n[INFO] %s : trd %x (%s) on core[%x,%d] => trd %x (%s) / cycle %d\n",
     306        sched_dmsg("\n[DMSG] %s : trd %x (%s) on core[%x,%d] => trd %x (%s) / cycle %d\n",
    307307        __FUNCTION__, current->trdid, thread_type_str(current->type), local_cxy, core->lid,
    308308        next->trdid, thread_type_str(next->type), hal_time_stamp() );
     
    331331    else
    332332    {
    333         sched_dmsg("\n[INFO] %s : thread %x on core[%x,%d] continue / cycle %d\n",
     333        sched_dmsg("\n[DMSG] %s : thread %x on core[%x,%d] continue / cycle %d\n",
    334334        __FUNCTION__, current->trdid, local_cxy, core->lid, hal_time_stamp() );
    335335    }
Note: See TracChangeset for help on using the changeset viewer.