This commit is contained in:
2026-09-16 04:37:37 +02:00
parent e71245c082
commit 3e9bdf72c9
74 changed files with 555 additions and 567 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ void panic(const char* msg, ...) {
struct percpu* cpu = percpu_get();
struct task* current = cpu->sched.current;
printf(
kprintf(
"----[ Kernel panic ]----\n"
"In task \"%s\" (TID %zu) on CPU %zu!\n",
current ? current->name : nullptr,
@@ -24,7 +24,7 @@ void panic(const char* msg, ...) {
kvprintf(msg, args);
va_end(args);
printf("----[ End of panic ]----\n");
kprintf("----[ End of panic ]----\n");
while (1) {
arch_irq_wait();