Kernel: Improve kernel panic message and rename it 'panic'->'Panic'

This commit is contained in:
Bananymous
2023-01-09 14:56:20 +02:00
parent 531f470132
commit efd8638a96
19 changed files with 91 additions and 64 deletions

View File

@@ -1,4 +1,4 @@
#include <kernel/panic.h>
#include <kernel/Panic.h>
#include <stdint.h>
#include <stdlib.h>
@@ -16,7 +16,7 @@ __BEGIN_DECLS
__attribute__((noreturn))
void __stack_chk_fail(void)
{
Kernel::panic("Stack smashing detected");
Kernel::Panic("Stack smashing detected");
abort();
}