X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Fsyscalls.c;h=85fbbf8c7882242b8465ac4bf60b41ff0cb125ad;hb=e9406092ff4b38cc548c7ade1f18329247016b36;hp=7a960114b731e5178b9754d46f07b7edc908b7da;hpb=383e0a7b0f5f23bea1b9712abc1060798d20bb3a;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/syscalls.c b/KernelLand/Kernel/syscalls.c index 7a960114..85fbbf8c 100644 --- a/KernelLand/Kernel/syscalls.c +++ b/KernelLand/Kernel/syscalls.c @@ -72,6 +72,10 @@ void SyscallHandler(tSyscallRegs *Regs) // -- Put the current thread to sleep case SYS_SLEEP: Threads_Sleep(); break; + + case SYS_TIMEDSLEEP: + Time_Delay(Regs->Arg1); + break; // -- Yield current timeslice case SYS_YIELD: Threads_Yield(); break;