Initial commit of kernel only
[tpg/acess2.git] / 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_SIGNAL      Set signal Handler
7 SYS_YIELD       Yield remainder of timestamp
8 SYS_SLEEP       Sleep until messaged or signaled
9 SYS_WAIT        Wait for a time or a message
10 SYS_WAITTID     Wait for a thread to do something
11
12 SYS_SETNAME     Set's the name of the current thread
13 SYS_GETNAME     Get's the name of a thread
14 SYS_GETTID      Get current thread ID
15 SYS_GETPID      Get current thread group ID
16 SYS_SETPRI      Set process priority
17
18 SYS_SENDMSG     Send an IPC message
19 SYS_GETMSG      Recieve an IPC message
20
21 SYS_GETTIME     Get the current timestamp
22
23 SYS_SPAWN       Spawn a new process
24 SYS_EXECVE      Replace the current process
25 SYS_LOADBIN     Load a binary into the current address space
26 SYS_UNLOADBIN   Unload a loaded binary
27
28 32
29 SYS_GETPHYS     Get the physical address of a page
30 SYS_MAP         Map a physical address
31 SYS_ALLOCATE    Allocate a page
32 SYS_UNMAP       Unmap a page
33 SYS_PREALLOC    Preallocate a page
34 SYS_SETFLAGS    Set a page's flags
35 SYS_SHAREWITH   Share a page with another thread
36
37 SYS_GETUID      Get current User ID
38 SYS_GETGID      Get current Group ID
39 SYS_SETUID      Set current user ID
40 SYS_SETGID      Set current Group ID
41
42 64
43 SYS_OPEN        Open a file
44 SYS_REOPEN      Close a file and reuse its handle
45 SYS_CLOSE       Close a file
46 SYS_READ        Read from an open file
47 SYS_WRITE       Write to an open file
48 SYS_IOCTL       Perform an IOCtl Call
49 SYS_READDIR     Read from an open directory
50 SYS_MKDIR       Create a new directory
51 SYS_SYMLINK     Create a symbolic link
52 SYS_GETACL      Get an ACL Value
53 SYS_SETACL      Set an ACL Value
54 SYS_FINFO       Get file information
55 SYS_SEEK        Seek to a new position in the file
56 SYS_TELL        Return the current file position

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