summaryrefslogtreecommitdiff
path: root/kernel/includes
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-11-28 20:07:50 +0100
committerAnton Kling <anton@kling.gg>2023-11-28 20:07:50 +0100
commit636858dbbd48ed9f5073793b46740302aa202f43 (patch)
treecf976c2b5a61ba055f0877317afdaf6e871df80e /kernel/includes
parent89dc5dd5ba1e9cfe7a8975086c1d5638f8fbbac5 (diff)
Kernel: Add basic IPC and move to microkernel design.
The IPC design is currently a WIP and is nowhere near complete
Diffstat (limited to 'kernel/includes')
-rw-r--r--kernel/includes/syscalls.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/includes/syscalls.h b/kernel/includes/syscalls.h
index 7b2a966..46218ce 100644
--- a/kernel/includes/syscalls.h
+++ b/kernel/includes/syscalls.h
@@ -8,6 +8,11 @@
#include <typedefs.h>
#include <types.h>
+int syscall_ipc_register_endpoint(u32 endpoint);
+int syscall_ipc_read(u8 *buffer, u32 length, u32 *sender_pid);
+int syscall_ipc_write(int ipc_id, u8 *buffer, u32 length);
+int syscall_ipc_write_to_process(int pid, u8 *buffer, u32 length);
+
typedef struct SYS_ACCEPT_PARAMS {
int socket;
struct sockaddr *address;