Usermode/ld-acess - Added SysTimedSleep
authorJohn Hodge <[email protected]>
Sat, 27 Jul 2013 11:04:34 +0000 (19:04 +0800)
committerJohn Hodge <[email protected]>
Sat, 27 Jul 2013 11:04:34 +0000 (19:04 +0800)
Usermode/Libraries/ld-acess.so_src/arch/syscalls.s.h
Usermode/Libraries/ld-acess.so_src/include_exp/acess/sys.h

index 98dfbcc..e98fd5e 100644 (file)
@@ -7,6 +7,7 @@ SYSCALL2(_SysClone, SYS_CLONE)
 SYSCALL2(_SysKill, SYS_KILL)
 //SYSCALL0(yield, SYS_YIELD)
 //SYSCALL0(sleep, SYS_SLEEP)
+SYSCALL1(_SysTimedSleep, SYS_TIMEDSLEEP)
 SYSCALL1(_SysWaitEvent, SYS_WAITEVENT)
 SYSCALL2(_SysWaitTID, SYS_WAITTID)
 
index 87deceb..709b613 100644 (file)
@@ -63,6 +63,7 @@ extern int    _SysGetName(char *NameDest);
 extern int     _SysSetPri(int Priority);
 // --- Timekeeping ---
 extern int64_t _SysTimestamp(void);
+extern void    _SysTimedSleep(int64_t Delay);
 
 // --- Permissions ---
 extern int     _SysGetUID(void);

UCC git Repository :: git.ucc.asn.au