bond/kernel/ke/boot.c

19 lines
321 B
C
Raw Normal View History

2018-01-26 08:43:22 +00:00
#include "kernel/ke/boot.h"
#include "kernel/ke/bug_check.h"
/**
* Kernel entry point
* @param boot_info passed by the bootloader
*/
2018-03-24 00:58:24 +00:00
void SXAPI ke_main(struct boot_info *boot_info)
{
2018-03-24 00:58:24 +00:00
sx_status status = STATUS_SUCCESS;
2018-02-18 04:06:57 +00:00
status = hal_init(boot_info);
if (!sx_success(status))
{
ke_panic(status);
}
ke_trap();
}
2018-03-24 00:58:24 +00:00