Changes in kernel/generic/src/syscall/syscall.c [516adce:d9fae235] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/syscall/syscall.c
r516adce rd9fae235 54 54 #include <console/console.h> 55 55 #include <udebug/udebug.h> 56 #include <ps/ps.h>57 #include <ps/load.h>58 #include <ps/uptime.h>59 56 60 57 /** Dispatch system call */ … … 63 60 { 64 61 unative_t rc; 65 66 /* Do userpace accounting */67 thread_update_accounting(true);68 62 69 63 #ifdef CONFIG_UDEBUG … … 101 95 } 102 96 #endif 103 104 /* Do kernel accounting */105 thread_update_accounting(false);106 97 107 98 return rc; … … 162 153 163 154 /* Sysinfo syscalls */ 164 (syshandler_t) sys_sysinfo_valid, 165 (syshandler_t) sys_sysinfo_value, 155 (syshandler_t) sys_sysinfo_get_tag, 156 (syshandler_t) sys_sysinfo_get_value, 157 (syshandler_t) sys_sysinfo_get_data_size, 158 (syshandler_t) sys_sysinfo_get_data, 166 159 167 160 /* Debug calls */ 168 161 (syshandler_t) sys_debug_enable_console, 169 162 (syshandler_t) sys_debug_disable_console, 170 171 /* Ps calls */172 (syshandler_t) sys_ps_get_cpu_info,173 (syshandler_t) sys_ps_get_mem_info,174 (syshandler_t) sys_ps_get_tasks,175 (syshandler_t) sys_ps_get_task_info,176 (syshandler_t) sys_ps_get_threads,177 (syshandler_t) sys_ps_get_uptime,178 (syshandler_t) sys_ps_get_load,179 163 180 164 (syshandler_t) sys_ipc_connect_kbox
Note:
See TracChangeset
for help on using the changeset viewer.