8 lines
156 B
C
Executable file
8 lines
156 B
C
Executable file
#include <kernel/panic.h>
|
|
#include <stdio.h>
|
|
|
|
void kpanic_nomsg() {
|
|
// stop processor indefinitly
|
|
asm volatile ("cli");
|
|
asm volatile ("hlt");
|
|
}
|