summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-06-26 17:03:43 +0200
committerAlmuHS <almuhs@github.com>2019-06-26 17:03:43 +0200
commit0f74ef03348896b3d3ab463b220fb64e425236b0 (patch)
tree19d7ae7f29496ca4b9eee7e27e4c7499cc292750
parent414263754a3ca792e567716cdf1a518cd7454cda (diff)
debug: add active wait after start AP
-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.
*/