bond/kernel/ke/boot.c
2018-02-17 23:00:54 -05:00

20 lines
348 B
C

#include "kernel/ke/boot.h"
#include "kernel/ke/bug_check.h"
/**
* Kernel entry point
* @param boot_info passed by the bootloader
*/
void KABI ke_main(boot_info_t *boot_info)
{
status_t status = STATUS_SUCCESS;
status = hal_init(boot_info);
if (!sx_success(status))
{
ke_panic(status);
return;
}
ke_trap();
}