bond/kernel/ke/bug_check.c

14 lines
234 B
C
Raw Normal View History

2018-01-26 08:43:22 +00:00
#include "type.h"
#include "kernel/ke/print.h"
#include "kernel/ke/bug_check.h"
void KABI ke_trap(void)
{
2018-01-26 08:43:22 +00:00
while(true){};
}
void KABI ke_panic(uint64_t reason)
{
ke_printf("BugCheck: Reason - %ul\n", reason);
ke_trap();
}