summaryrefslogtreecommitdiff
path: root/src/sys/os/os_init.c
blob: 52d897967e6995e7cdeac231e68ba575193beb8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <sys/cdefs.h>
#include <sys/panic.h>
#include <sys/syslog.h>
#include <sys/cpuvar.h>

struct pcore g_bsp;

/*
 * Kernel entrypoint
 */
__dead void
main(void)
{
    cpu_conf(&g_bsp);
    printf("booting l5 lunos v0.0.1...\n");
    panic("end of kernel reached\n");
    for (;;);
}