Halt-And-Catch-Fire macro

This commit is contained in:
2018-03-06 10:59:23 +01:00
parent 2da088f031
commit 9e2483d78e
3 changed files with 34 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ void kmain()
debug_ok("This thing worked well!\n");
debug_warning("Careful!\n");
debug_error("Something went wrong!\n");
PANIC("Reached end of kernel main function\n");
for(;;);
}