summaryrefslogtreecommitdiffstats
path: root/proc/scheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'proc/scheduler.h')
-rw-r--r--proc/scheduler.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/proc/scheduler.h b/proc/scheduler.h
index 6f1b6b2..0371e86 100644
--- a/proc/scheduler.h
+++ b/proc/scheduler.h
@@ -1,6 +1,14 @@
#ifndef _JOVE_PROC_SCHEDULER_H
#define _JOVE_PROC_SCHEDULER_H 1
+#include "process.h"
+
+void scheduler_init(jove_owned_obj_t *pcb_obj, void *process_main);
+
+void scheduler_switch(void *this_sp, void *other_sp);
+void _scheduler_switch_pcb_arch(pcb_t *target);
+
+int scheduler_yield(pid_t target);
#endif