X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Fld-acess.so_src%2Farch%2Fsyscalls.s.h;h=1b9c3e82123e1fd05ef163e5bedf75b587b47a58;hb=230612b2efeeb769f1d96193ec01b10bd36d9873;hp=c7a7215c95a206237dd46d8dde3f836052c98102;hpb=45aa70066eaed86fa03c0cb842b2031435019645;p=tpg%2Facess2.git 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 c7a7215c..1b9c3e82 100644 --- a/Usermode/Libraries/ld-acess.so_src/arch/syscalls.s.h +++ b/Usermode/Libraries/ld-acess.so_src/arch/syscalls.s.h @@ -7,13 +7,14 @@ 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) SYSCALL0(gettid, SYS_GETTID) -SYSCALL0(getpid, SYS_GETPID) -SYSCALL0(getuid, SYS_GETUID) -SYSCALL0(getgid, SYS_GETGID) +SYSCALL0(_SysGetPID, SYS_GETPID) +SYSCALL0(_SysGetUID, SYS_GETUID) +SYSCALL0(_SysGetGID, SYS_GETGID) SYSCALL1(setuid, SYS_SETUID) SYSCALL1(setgid, SYS_SETGID) @@ -34,7 +35,13 @@ SYSCALL1(_SysUnloadBin, SYS_UNLOADBIN) SYSCALL1(_SysSetFaultHandler, SYS_SETFAULTHANDLER) -SYSCALL6(_SysDebug, 0x100) +SYSCALL1(_SysLoadModule, SYS_LOADMOD) + +SYSCALL6(_ZN4_sys5debugEPKcz, SYS_DEBUGF) +SYSCALL6(_SysDebug, SYS_DEBUGF) +//SYSCALL3(_SysDebugS, SYS_DEBUGS) +SYSCALL3(_SysDebugHex, SYS_DEBUGHEX) + SYSCALL1(_SysGetPhys, SYS_GETPHYS) // uint64_t _SysGetPhys(uint addr) SYSCALL1(_SysAllocate, SYS_ALLOCATE) // uint64_t _SysAllocate(uint addr) SYSCALL3(_SysSetMemFlags, SYS_SETFLAGS) // uint32_t SysSetMemFlags(uint addr, uint flags, uint mask) @@ -43,9 +50,13 @@ SYSCALL2(_SysOpen, SYS_OPEN) // char*, int SYSCALL3(_SysOpenChild, SYS_OPENCHILD) // int, char*, int SYSCALL3(_SysReopen, SYS_REOPEN) // int, char*, int SYSCALL2(_SysCopyFD, SYS_COPYFD) // int, int +SYSCALL3(_SysFDFlags, SYS_FDCTL) // int, int, int SYSCALL1(_SysClose, SYS_CLOSE) // int SYSCALL3(_SysRead, SYS_READ) // int, uint, void* +SYSCALL5(_SysReadAt, SYS_READAT) // int, uint, uint64, void* SYSCALL3(_SysWrite, SYS_WRITE) // int, uint, void* +SYSCALL5(_SysWriteAt, SYS_WRITEAT) // int, uint, uint64, void* +SYSCALL3(_SysTruncate, SYS_TRUNCATE) // int, uint64 SYSCALL4(_SysSeek, SYS_SEEK) // int, uint64_t, int SYSCALL1(_SysTell, SYS_TELL) // int SYSCALL3(_SysFInfo, SYS_FINFO) // int, void*, int @@ -55,5 +66,13 @@ SYSCALL1(_SysChdir, SYS_CHDIR) // char* SYSCALL3(_SysIOCtl, SYS_IOCTL) // int, int, void* SYSCALL4(_SysMount, SYS_MOUNT) // char*, char*, char*, char* SYSCALL6(_SysSelect, SYS_SELECT) // int, fd_set*, fd_set*, fd_set*, tTime*, uint32_t + +SYSCALL1(_SysMkDir, SYS_MKDIR) // const char* SYSCALL1(_SysUnlink, SYS_UNLINK) // const char* +SYSCALL6(_SysMMap, SYS_MMAP) +SYSCALL2(_SysMUnMap, SYS_MUNMAP) + +SYSCALL1(_SysMarshalFD, SYS_MARSHALFD) +SYSCALL2(_SysUnMarshalFD, SYS_UNMARSHALFD) +