diff options
author | Richard Braun <rbraun@sceen.net> | 2014-01-13 23:13:01 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-01-14 01:35:17 +0100 |
commit | 9d998f839452b005401b00c76fd8d03ca062e096 (patch) | |
tree | 6537e14ac3a031ac23ca909079003fd07f31abba /kern/thread.h | |
parent | cbca7bb4f1f59aee176aeb79a69fafd51e17b267 (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.h | 4 |
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. |