Kernel/syscalls - Added syscall for Time_Wait
[tpg/acess2.git] / KernelLand / Kernel / syscalls.lst
1
2 0
3 SYS_EXIT        Kill this thread
4 SYS_CLONE       Create a new thread
5 SYS_KILL        Send a signal
6 SYS_SETFAULTHANDLER     Set signal Handler
7 SYS_YIELD       Yield remainder of timestamp
8 SYS_SLEEP       Sleep until messaged or signaled
9 SYS_TIMEDSLEEP  Sleep until a specified time has elapsed
10 SYS_WAITEVENT   Wait for an event
11 SYS_WAITTID     Wait for a thread to do something
12
13 SYS_SETNAME     Sets the name of the current thread
14 SYS_GETNAME     Gets the name of a thread
15 SYS_GETTID      Get current thread ID
16 SYS_GETPID      Get current thread group ID
17 SYS_SETPRI      Set process priority
18
19 SYS_SENDMSG     Send an IPC message
20 SYS_GETMSG      Recieve an IPC message
21
22 SYS_GETTIME     Get the current timestamp
23
24 SYS_SPAWN       Spawn a new process
25 SYS_EXECVE      Replace the current process
26 SYS_LOADBIN     Load a binary into the current address space
27 SYS_UNLOADBIN   Unload a loaded binary
28 SYS_LOADMOD     Load a module into the kernel
29
30 32
31 SYS_GETPHYS     Get the physical address of a page
32 SYS_MAP         Map a physical address
33 SYS_ALLOCATE    Allocate a page
34 SYS_UNMAP       Unmap a page
35 SYS_PREALLOC    Preallocate a page
36 SYS_SETFLAGS    Set a page's flags
37 SYS_SHAREWITH   Share a page with another thread
38
39 SYS_GETUID      Get current User ID
40 SYS_GETGID      Get current Group ID
41 SYS_SETUID      Set current user ID
42 SYS_SETGID      Set current Group ID
43
44 64
45 SYS_OPEN        Open a file
46 SYS_REOPEN      Close a file and reuse its handle
47 SYS_OPENCHILD   Open a child entry in a directory
48 SYS_OPENPIPE    Open a FIFO pipe pair
49 SYS_CLOSE       Close a file
50 SYS_COPYFD      Create a copy of a file handle
51 SYS_FDCTL       Modify flags of a file descriptor
52 SYS_READ        Read from an open file
53 SYS_WRITE       Write to an open file
54 SYS_IOCTL       Perform an IOCtl Call
55 SYS_SEEK        Seek to a new position in the file
56 SYS_READDIR     Read from an open directory
57 SYS_GETACL      Get an ACL Value
58 SYS_SETACL      Set an ACL Value
59 SYS_FINFO       Get file information
60 SYS_MKDIR       Create a new directory
61 SYS_LINK        Create a new link to a file
62 SYS_SYMLINK     Create a symbolic link
63 SYS_UNLINK      Delete a file
64 SYS_TELL        Return the current file position
65 SYS_CHDIR       Change current directory
66 SYS_GETCWD      Get current directory
67 SYS_MOUNT       Mount a filesystem
68 SYS_SELECT      Wait for file handles

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