bond/kernel/ke/bug_check.c

15 lines
228 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-02-18 04:06:57 +00:00
while (true)
{};
}
void KABI ke_panic(uint64_t reason)
{
2018-02-18 04:06:57 +00:00
ke_printf("BugCheck: Reason - %ul\n", reason);
ke_trap();
}