From fe4c623cb9320226866829317cea8ba0c49e7dbc Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 7 Jul 2024 18:12:55 +0300 Subject: 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 --- include/kmi/syscalls.h | 3 --- include/kmi/uapi.h | 14 -------------- 2 files changed, 17 deletions(-) (limited to 'include') 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 @@ -459,20 +459,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. * -- cgit v1.3