aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-07-07 18:12:55 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-07-07 18:12:55 +0300
commitfe4c623cb9320226866829317cea8ba0c49e7dbc (patch)
tree7ea3723077c72ff7969747a70ece0b94d88d2219 /include
parentd592abd8ccc4026c51e196777031eb65c4acc4de (diff)
downloadkmi-fe4c623cb9320226866829317cea8ba0c49e7dbc.tar.gz
kmi-fe4c623cb9320226866829317cea8ba0c49e7dbc.zip
make executable entrypoint universal callback
+ Effectively means that all executables can be called into, but if an exe doesn't want to deal with anyone else it should just set a flag like `not_really_a_server` or whatever
Diffstat (limited to 'include')
-rw-r--r--include/kmi/syscalls.h3
-rw-r--r--include/kmi/uapi.h14
2 files changed, 0 insertions, 17 deletions
diff --git a/include/kmi/syscalls.h b/include/kmi/syscalls.h
index 93b99a3..0826a6b 100644
--- a/include/kmi/syscalls.h
+++ b/include/kmi/syscalls.h
@@ -83,9 +83,6 @@ enum sys_code {
/** @name IPC. */
/** @{ */
- /** Inform kernel that process should be treated as server. */
- SYS_IPC_SERVER,
-
/** Send IPC request as client. */
SYS_IPC_REQ, /* IPC request to server */
diff --git a/include/kmi/uapi.h b/include/kmi/uapi.h
index 87b1895..53ae9cb 100644
--- a/include/kmi/uapi.h
+++ b/include/kmi/uapi.h
@@ -460,20 +460,6 @@ SYSCALL_DECLARE1(free_timer, cid);
/** @name IPC syscalls. */
/** @{ */
/**
- * Report process status as server syscall.
- *
- * @param t Current tcb.
- * @param callback Callback to request handler.
- * @param b Unused.
- * @param c Unused.
- * @param d Unused.
- * @param e Unused.
- *
- * Returns \ref OK.
- */
-SYSCALL_DECLARE1(ipc_server, callback);
-
-/**
* Request syscall.
*
* @param t Current tcb.