From: John Hodge Date: Sat, 27 Jul 2013 11:04:34 +0000 (+0800) Subject: Usermode/ld-acess - Added SysTimedSleep X-Git-Tag: rel0.15~320 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=d4b689239171d6786d20accfa3e8db7688271a68;p=tpg%2Facess2.git Usermode/ld-acess - Added SysTimedSleep --- diff --git a/Usermode/Libraries/ld-acess.so_src/arch/syscalls.s.h b/Usermode/Libraries/ld-acess.so_src/arch/syscalls.s.h index 98dfbcc3..e98fd5e6 100644 --- a/Usermode/Libraries/ld-acess.so_src/arch/syscalls.s.h +++ b/Usermode/Libraries/ld-acess.so_src/arch/syscalls.s.h @@ -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) diff --git a/Usermode/Libraries/ld-acess.so_src/include_exp/acess/sys.h b/Usermode/Libraries/ld-acess.so_src/include_exp/acess/sys.h index 87decebd..709b6132 100644 --- a/Usermode/Libraries/ld-acess.so_src/include_exp/acess/sys.h +++ b/Usermode/Libraries/ld-acess.so_src/include_exp/acess/sys.h @@ -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);