diff options
Diffstat (limited to 'libc/abort.c')
| -rw-r--r-- | libc/abort.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libc/abort.c b/libc/abort.c deleted file mode 100644 index 83873e8..0000000 --- a/libc/abort.c +++ /dev/null @@ -1,11 +0,0 @@ -#include <stdio.h>
-#include <stdlib.h>
-
-__attribute__((__noreturn__))
-void abort(void) {
- // TODO: Add proper kernel panic.
- printf("kernel: panic: abort()\n");
- asm volatile("hlt");
- while (1) { }
- __builtin_unreachable();
-}
\ No newline at end of file |
