summaryrefslogtreecommitdiff
path: root/kern/startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/startup.c')
-rw-r--r--kern/startup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/startup.c b/kern/startup.c
index d971b7aa..378ee798 100644
--- a/kern/startup.c
+++ b/kern/startup.c
@@ -183,6 +183,8 @@ void setup_main(void)
(void) thread_create(kernel_task, &startup_thread);
thread_start(startup_thread, start_kernel_threads);
+ while(true);
+
/*
* Give it a kernel stack.
*/