Ignore:
Timestamp:
Jan 29, 2018, 6:08:07 PM (6 years ago)
Author:
alain
Message:

blip

File:
1 edited

Legend:

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

    r409 r428  
    3636static int sys_undefined()
    3737{
    38     panic("undefined system call");
     38    assert( false , __FUNCTION__ , "undefined system call" );
    3939    return 0;
    4040}
     
    9191    sys_exec,               // 37
    9292    sys_stat,               // 38
    93     sys_trace,              // 39
     93    sys_wait,               // 39
    9494
    9595    sys_get_config,         // 40
    9696    sys_get_core,           // 41
    9797    sys_get_cycle,          // 42
    98     sys_get_sched,          // 43
    99     sys_panic,              // 44
     98    sys_display,            // 43
     99    sys_undefined,          // 44
    100100    sys_thread_sleep,       // 45
    101101    sys_thread_wakeup,      // 46
     102    sys_trace,              // 47
     103    sys_fg,                 // 48
    102104};
    103105
     
    146148        else if( index == SYS_EXEC           ) return "EXEC";             // 37
    147149        else if( index == SYS_STAT           ) return "STAT";             // 38
    148         else if( index == SYS_TRACE          ) return "TRACE";            // 39
     150        else if( index == SYS_WAIT           ) return "WAIT";             // 39
    149151
    150152    else if( index == SYS_GET_CONFIG     ) return "GET_CONFIG";       // 40
    151153    else if( index == SYS_GET_CORE       ) return "GET_CORE";         // 41
    152154    else if( index == SYS_GET_CYCLE      ) return "GET_CYCLE";        // 42
    153     else if( index == SYS_GET_SCHED      ) return "GET_SCHED";        // 43
    154     else if( index == SYS_PANIC          ) return "PANIC";            // 44
    155         else if( index == SYS_SLEEP          ) return "SLEEP";            // 45
    156         else if( index == SYS_WAKEUP         ) return "WAKEUP";           // 46
     155    else if( index == SYS_DISPLAY        ) return "DISPLAY";          // 43
     156        else if( index == SYS_THREAD_SLEEP   ) return "THREAD_SLEEP";     // 45
     157        else if( index == SYS_THREAD_WAKEUP  ) return "THREAD_WAKEUP";    // 46
     158        else if( index == SYS_TRACE          ) return "TRACE";            // 47
     159        else if( index == SYS_FG             ) return "FG";               // 48
    157160
    158161    else                                   return "undefined";   
Note: See TracChangeset for help on using the changeset viewer.