aboutsummaryrefslogtreecommitdiff
path: root/include/apos/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos/syscalls.h')
-rw-r--r--include/apos/syscalls.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/apos/syscalls.h b/include/apos/syscalls.h
index 19e27ea..e89d07a 100644
--- a/include/apos/syscalls.h
+++ b/include/apos/syscalls.h
@@ -14,10 +14,10 @@ enum {
SYS_NOOP,
/* memory management */
- SYS_REQ_MEM, /* request memory from anywhere */
- SYS_REQ_PMEM, /* request physical address */
+ SYS_REQ_MEM, /* request memory from anywhere */
+ SYS_REQ_PMEM, /* request physical address */
SYS_REQ_FIXMEM, /* request memory at fixed address */
- SYS_FREE_MEM, /* free memory */
+ SYS_FREE_MEM, /* free memory */
/* timers */
SYS_TIMEBASE,
@@ -29,21 +29,21 @@ enum {
/* I really should try to find my notes about the server/client
* structure of the OS, but these following syscalls are probably
* required */
- SYS_IPC_SERVER, /* inform kernel that process should be treated as a server */
- SYS_IPC_REQ_PROC, /* IPC request to server on behalf of process */
+ SYS_IPC_SERVER, /* inform kernel that process should be treated as a server */
+ SYS_IPC_REQ_PROC, /* IPC request to server on behalf of process */
SYS_IPC_REQ_THREAD, /* IPC request to server on behalf of thread */
- SYS_IPC_RESP, /* IPC response from server */
+ SYS_IPC_RESP, /* IPC response from server */
/* process management */
SYS_CREATE, /* create new thread */
- SYS_FORK, /* duplicate process */
- SYS_EXEC, /* execute new binary in process space */
- SYS_KILL, /* kill thread */
+ SYS_FORK, /* duplicate process */
+ SYS_EXEC, /* execute new binary in process space */
+ SYS_KILL, /* kill thread */
SYS_SIGNAL, /* send signal to process (kill etc.) */
- SYS_SWITCH, /* switch running process */
+ SYS_SWAP /* switch running process */
/* kernel management */
- SYS_CONF, /* config system parameters (stack size etc.) */
+ SYS_CONF, /* config system parameters (stack size etc.) */
SYS_POWEROFF, /* shutdown/reboot etc. */
};