summaryrefslogtreecommitdiff
path: root/kern/thread.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2014-01-13 23:13:01 +0100
committerRichard Braun <rbraun@sceen.net>2014-01-14 01:35:17 +0100
commit9d998f839452b005401b00c76fd8d03ca062e096 (patch)
tree6537e14ac3a031ac23ca909079003fd07f31abba /kern/thread.h
parentcbca7bb4f1f59aee176aeb79a69fafd51e17b267 (diff)
Rework bootstrapping
Start application processors once the kernel is completely initialized, right before starting the scheduler. This simplifies the procedure with regard to inter-processor pmap updates.
Diffstat (limited to 'kern/thread.h')
-rw-r--r--kern/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/thread.h b/kern/thread.h
index ea6c82e4..0efb8268 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -239,9 +239,9 @@ void thread_wakeup(struct thread *thread);
/*
* Start running threads on the local processor.
*
- * Interrupts must be enabled when calling this function.
+ * Interrupts must be disabled when calling this function.
*/
-void __noreturn thread_run(void);
+void __noreturn thread_run_scheduler(void);
/*
* Make the calling thread release the processor.