| UbixOS
    2.0
    | 


Go to the source code of this file.
| Data Structures | |
| struct | syscall_entry | 
| Macros | |
| #define | ARG_COUNT(name) (sizeof(struct name) / sizeof(register_t)) | 
| #define | EJUSTRETURN (-2) /* don't modify regs, just return */ | 
| #define | ERESTART (-1) /* restart syscall */ | 
| #define | PSL_C 0x00000001 /* carry bit */ | 
| #define | SYSCALLS_MAX 1024 | 
| Typedefs | |
| typedef int(* | functionPTR) () | 
| typedef int | sys_call_t(struct thread *, void *) | 
| Enumerations | |
| enum | syscallType_t { SYSCALL_INVALID, SYSCALL_VALID, SYSCALL_DUMMY, SYSCALL_NOTIMP, SYSCALL_DEBUG } | 
| This is all the types of systems calls.  More... | |
| Functions | |
| int | sysAddModule () | 
| int | sysAuth () | 
| int | sysChDir () | 
| int | sysCheckPid () | 
| int | sysExec () | 
| int | sysExit () | 
| int | sysFclose () | 
| int | sysFgetc () | 
| int | sysFopen () | 
| int | sysFseek () | 
| int | sysGetCwd () | 
| int | sysGetDrives () | 
| int | sysGetFreePage () | 
| int | sysGetpid () | 
| int | sysGetTime () | 
| int | sysGetUptime () | 
| int | sysMkDir () | 
| int | sysMpiCreateMbox () | 
| int | sysMpiDestroyMbox () | 
| int | sysMpiFetchMessage () | 
| int | sysMpiPostMessage () | 
| int | sysMpiSpam () | 
| int | sysPasswd () | 
| int | sysRmDir () | 
| int | sysRmModule () | 
| int | sysStartSDE () | 
| int | sysUnlink () | 
| Variables | |
| struct syscall_entry | systemCalls [] | 
| struct syscall_entry | systemCalls_posix [] | 
| int | totalCalls | 
| int | totalCalls_posix | 
| #define ARG_COUNT | ( | name | ) | (sizeof(struct name) / sizeof(register_t)) | 
Definition at line 42 of file syscalls.h.
| #define EJUSTRETURN (-2) /* don't modify regs, just return */ | 
Definition at line 39 of file syscalls.h.
| #define ERESTART (-1) /* restart syscall */ | 
Definition at line 40 of file syscalls.h.
| #define PSL_C 0x00000001 /* carry bit */ | 
Definition at line 38 of file syscalls.h.
| #define SYSCALLS_MAX 1024 | 
Definition at line 36 of file syscalls.h.
| typedef int(* functionPTR) () | 
Definition at line 107 of file syscalls.h.
| typedef int sys_call_t(struct thread *, void *) | 
Definition at line 61 of file syscalls.h.
| enum syscallType_t | 
This is all the types of systems calls.
| Enumerator | |
|---|---|
| SYSCALL_INVALID | Invalid call. | 
| SYSCALL_VALID | Valid call. | 
| SYSCALL_DUMMY | Dummy call. | 
| SYSCALL_NOTIMP | Call not implemented. | 
| SYSCALL_DEBUG | Turn on debugging for the call. | 
Definition at line 53 of file syscalls.h.
| int sysAuth | ( | ) | 
| int sysChDir | ( | ) | 
| int sysCheckPid | ( | ) | 
| int sysExec | ( | ) | 
| int sysExit | ( | ) | 
| int sysFclose | ( | ) | 
| int sysFgetc | ( | ) | 
| int sysFopen | ( | ) | 
| int sysFseek | ( | ) | 
| int sysGetCwd | ( | ) | 
| int sysGetDrives | ( | ) | 
| int sysGetFreePage | ( | ) | 
| int sysGetpid | ( | ) | 
| int sysGetTime | ( | ) | 
| int sysGetUptime | ( | ) | 
| int sysMkDir | ( | ) | 
| int sysMpiCreateMbox | ( | ) | 
| int sysMpiDestroyMbox | ( | ) | 
| int sysMpiFetchMessage | ( | ) | 
| int sysMpiPostMessage | ( | ) | 
| int sysMpiSpam | ( | ) | 
| int sysPasswd | ( | ) | 
| int sysUnlink | ( | ) | 
| struct syscall_entry systemCalls[] | 
Definition at line 34 of file syscalls.c.
Referenced by sys_call(), and sys_call_posix().
| struct syscall_entry systemCalls_posix[] | 
Definition at line 33 of file syscalls_posix.c.
Referenced by sys_call_posix().
| int totalCalls | 
Definition at line 92 of file syscalls.c.
Referenced by sys_call().
| int totalCalls_posix | 
Definition at line 2791 of file syscalls_posix.c.
Referenced by sys_call_posix().