Changeset 428 for trunk/kernel/kern/do_syscall.c
- Timestamp:
- Jan 29, 2018, 6:08:07 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/do_syscall.c
r409 r428 36 36 static int sys_undefined() 37 37 { 38 panic("undefined system call");38 assert( false , __FUNCTION__ , "undefined system call" ); 39 39 return 0; 40 40 } … … 91 91 sys_exec, // 37 92 92 sys_stat, // 38 93 sys_ trace,// 3993 sys_wait, // 39 94 94 95 95 sys_get_config, // 40 96 96 sys_get_core, // 41 97 97 sys_get_cycle, // 42 98 sys_ get_sched,// 4399 sys_ panic,// 4498 sys_display, // 43 99 sys_undefined, // 44 100 100 sys_thread_sleep, // 45 101 101 sys_thread_wakeup, // 46 102 sys_trace, // 47 103 sys_fg, // 48 102 104 }; 103 105 … … 146 148 else if( index == SYS_EXEC ) return "EXEC"; // 37 147 149 else if( index == SYS_STAT ) return "STAT"; // 38 148 else if( index == SYS_ TRACE ) return "TRACE";// 39150 else if( index == SYS_WAIT ) return "WAIT"; // 39 149 151 150 152 else if( index == SYS_GET_CONFIG ) return "GET_CONFIG"; // 40 151 153 else if( index == SYS_GET_CORE ) return "GET_CORE"; // 41 152 154 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 157 160 158 161 else return "undefined";
Note: See TracChangeset
for help on using the changeset viewer.