From 96e5d8dc99010e2cec8bd2edf59545bd13f6f769 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 28 May 2022 14:08:12 +0300 Subject: start implementing new proc/rpc handling + Essentially, separate root process and remote procedure call handling. I really should write down some documentation so I don't forget, but essentially: All threads share a common process virtual memory, and when a thread wants to make an rpc, it switches over to its own rpc vmem space that is linked to the remote process. --- common/uapi/dispatch.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/uapi') diff --git a/common/uapi/dispatch.c b/common/uapi/dispatch.c index 924a0ed..df211d5 100644 --- a/common/uapi/dispatch.c +++ b/common/uapi/dispatch.c @@ -3,6 +3,7 @@ * Syscall dispatch. */ +#include #include static const sys_t syscall_table[] = { @@ -39,6 +40,7 @@ static const sys_t syscall_table[] = { }; SYSCALL_DEFINE0(noop)(){ + info("sys_noop\n"); return (struct sys_ret){ OK, 0 }; } -- cgit v1.3