aboutsummaryrefslogtreecommitdiff
path: root/include/apos
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos')
-rw-r--r--include/apos/syscalls.h2
-rw-r--r--include/apos/uapi.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/apos/syscalls.h b/include/apos/syscalls.h
index b8553bc..9346da3 100644
--- a/include/apos/syscalls.h
+++ b/include/apos/syscalls.h
@@ -29,8 +29,10 @@ enum {
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_SIGNAL, /* send signal to process (kill etc.) */
SYS_SWITCH, /* switch running process */
diff --git a/include/apos/uapi.h b/include/apos/uapi.h
index ff3f4d0..a3b54d5 100644
--- a/include/apos/uapi.h
+++ b/include/apos/uapi.h
@@ -98,6 +98,7 @@ SYSCALL_DECLARE(ipc_req);
SYSCALL_DECLARE(ipc_resp);
/* proc */
+SYSCALL_DECLARE(create);
SYSCALL_DECLARE(fork);
SYSCALL_DECLARE(exec);
SYSCALL_DECLARE(signal);