From 4536dc81b4be9a62328826455664cd6d696df8fb Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Sun, 25 Feb 2024 01:45:19 +0100 Subject: IPC: Inform the scheduler the process is waiting for a IPC message --- kernel/ipc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/ipc.h') diff --git a/kernel/ipc.h b/kernel/ipc.h index ae67f71..d8db074 100644 --- a/kernel/ipc.h +++ b/kernel/ipc.h @@ -1,3 +1,4 @@ +#include #ifndef IPC_H #define IPC_H #include @@ -23,4 +24,5 @@ bool ipc_register_endpoint(u32 endpoint); int ipc_write_to_process(int pid, u8 *buffer, u32 length); int ipc_write(int ipc_id, u8 *buffer, u32 length); int ipc_read(u8 *buffer, u32 length, u32 *sender_pid); +int ipc_has_data(process_t *p); #endif -- cgit v1.2.3