diff options
author | Anton Kling <anton@kling.gg> | 2023-11-28 20:07:50 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-28 20:07:50 +0100 |
commit | 636858dbbd48ed9f5073793b46740302aa202f43 (patch) | |
tree | cf976c2b5a61ba055f0877317afdaf6e871df80e /kernel/libc/exit/assert.c | |
parent | 89dc5dd5ba1e9cfe7a8975086c1d5638f8fbbac5 (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/libc/exit/assert.c')
-rw-r--r-- | kernel/libc/exit/assert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/libc/exit/assert.c b/kernel/libc/exit/assert.c index b48773a..3351249 100644 --- a/kernel/libc/exit/assert.c +++ b/kernel/libc/exit/assert.c @@ -1,12 +1,12 @@ #include <assert.h> #include <log.h> #include <stdio.h> -#include <log.h> -void aFailed(char *f, int l) { +__attribute__((__noreturn__)) void aFailed(char *f, int l) { kprintf("Assert failed\n"); kprintf("%s : %d\n", f, l); dump_backtrace(10); + asm("hlt"); for (;;) ; } |