Changes in kernel/generic/src/syscall/syscall.c [d9fae235:516adce] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/syscall/syscall.c
rd9fae235 r516adce 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> 56 59 57 60 /** Dispatch system call */ … … 60 63 { 61 64 unative_t rc; 65 66 /* Do userpace accounting */ 67 thread_update_accounting(true); 62 68 63 69 #ifdef CONFIG_UDEBUG … … 95 101 } 96 102 #endif 103 104 /* Do kernel accounting */ 105 thread_update_accounting(false); 97 106 98 107 return rc; … … 153 162 154 163 /* Sysinfo syscalls */ 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, 164 (syshandler_t) sys_sysinfo_valid, 165 (syshandler_t) sys_sysinfo_value, 159 166 160 167 /* Debug calls */ 161 168 (syshandler_t) sys_debug_enable_console, 162 169 (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, 163 179 164 180 (syshandler_t) sys_ipc_connect_kbox
Note:
See TracChangeset
for help on using the changeset viewer.