aboutsummaryrefslogtreecommitdiff
path: root/kernel/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c
new file mode 100644
index 0000000..325f858
--- /dev/null
+++ b/kernel/main.c
@@ -0,0 +1,12 @@
+#include <fbos/init.h>
+
+/*
+ * This is the main entry point of the kernel after head.S is done. This
+ * function can (and will) assume that everything has been reset and that we can
+ * start the whole thing.
+ */
+__noreturn __kernel void start_kernel(void)
+{
+ for (;;)
+ ;
+}