Changeset 7e7b791 in mainline
- Timestamp:
- 2011-05-13T14:34:31Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5fd3f2d
- Parents:
- 23f40280
- Location:
- kernel/generic
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/thread.h
r23f40280 r7e7b791 259 259 extern sysarg_t sys_thread_get_id(thread_id_t *); 260 260 extern sysarg_t sys_thread_usleep(uint32_t); 261 extern sysarg_t sys_thread_udelay(uint32_t); 261 262 262 263 #endif -
kernel/generic/include/syscall/syscall.h
r23f40280 r7e7b791 44 44 SYS_THREAD_GET_ID, 45 45 SYS_THREAD_USLEEP, 46 SYS_THREAD_UDELAY, 46 47 47 48 SYS_TASK_GET_ID, -
kernel/generic/src/proc/thread.c
r23f40280 r7e7b791 918 918 } 919 919 920 sysarg_t sys_thread_udelay(uint32_t usec) 921 { 922 asm_delay_loop(usec * CPU->delay_loop_const); 923 return 0; 924 } 925 920 926 /** @} 921 927 */ -
kernel/generic/src/syscall/syscall.c
r23f40280 r7e7b791 127 127 (syshandler_t) sys_thread_get_id, 128 128 (syshandler_t) sys_thread_usleep, 129 (syshandler_t) sys_thread_udelay, 129 130 130 131 (syshandler_t) sys_task_get_id,
Note:
See TracChangeset
for help on using the changeset viewer.