summaryrefslogtreecommitdiff
path: root/kernel/ipc.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-02-14 17:40:06 +0100
committerAnton Kling <anton@kling.gg>2024-02-14 17:40:06 +0100
commit3922adcdec5bd003b4106ffce79c28553bc40c15 (patch)
treef1af360cd7ad75d4b5f19bf066bf7e29ce8e3e53 /kernel/ipc.c
parenta8ffc46136eb16adc87fb520c724467d1295a854 (diff)
Kernel: Update signal handling and IPC
Diffstat (limited to 'kernel/ipc.c')
-rw-r--r--kernel/ipc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/ipc.c b/kernel/ipc.c
index 6367511..e29b169 100644
--- a/kernel/ipc.c
+++ b/kernel/ipc.c
@@ -47,10 +47,7 @@ int ipc_read(u8 *buffer, u32 length, u32 *sender_pid) {
for (;;) {
ipc_message = &handler->data[read_ptr];
if (!ipc_message->is_used) {
- return 0;
-// kprintf("switch\n");
-// switch_task();
-// continue;
+ return 0;
}
kprintf("breaking out\n");
break;