summaryrefslogtreecommitdiff
path: root/src/sys/os/kern_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/os/kern_init.c')
-rw-r--r--src/sys/os/kern_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys/os/kern_init.c b/src/sys/os/kern_init.c
index 6cf35f0..2319dec 100644
--- a/src/sys/os/kern_init.c
+++ b/src/sys/os/kern_init.c
@@ -1,4 +1,7 @@
#include <sys/cdefs.h>
+#include <sys/cpuvar.h>
+
+struct pcore g_bsp;
/*
* Kernel entrypoint
@@ -6,5 +9,6 @@
__dead void
main(void)
{
+ cpu_conf(&g_bsp);
for (;;);
}