diff options
| author | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-01-07 03:19:28 -0500 |
|---|---|---|
| committer | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-01-07 03:19:28 -0500 |
| commit | bb59107bd06a6a252b3743f17e55e3c17896db35 (patch) | |
| tree | cb8ad8bbd25fe7d5db6cf734c33f4777843876b9 /kernel/std/abort.c | |
| parent | b7b97d32cbb6fbc928078ebe3a00714cbbebea86 (diff) | |
moved kernel libc stuff to libs/libck/
Diffstat (limited to 'kernel/std/abort.c')
| -rw-r--r-- | kernel/std/abort.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/std/abort.c b/kernel/std/abort.c deleted file mode 100644 index 83873e8..0000000 --- a/kernel/std/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 |
