summaryrefslogtreecommitdiff
path: root/kern/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.h')
-rw-r--r--kern/thread.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kern/thread.h b/kern/thread.h
index 3c6395c8..755f3056 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -63,6 +63,14 @@ struct thread_runq {
extern struct thread_runq thread_runqs[MAX_CPUS];
/*
+ * Early initialization of the thread module.
+ *
+ * This function makes it possible to use preemption control operations while
+ * the system is initializing itself.
+ */
+void thread_bootstrap(void);
+
+/*
* Initialize the thread module.
*/
void thread_setup(void);