aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-11-24 16:42:10 +0100
committerMarvin Borner2020-11-24 16:42:10 +0100
commit9257facb17bf74eb0eb1babfc59ff3549eb66242 (patch)
tree78af10bf8de91b4b8ecca878d5a358c79ae907b4 /kernel/inc
parent0564c8006da7077064222d15a899b858ae2d7e61 (diff)
Fixed timer counting with yield()
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/proc.h3
-rw-r--r--kernel/inc/timer.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index dc12369..5fc217c 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -36,8 +36,7 @@ struct proc_message {
struct proc *kernel_proc;
-void scheduler_enable(void);
-void scheduler_disable(void);
+void scheduler(struct regs *regs);
void proc_init(void);
void proc_print(void);
struct proc *proc_current(void);
diff --git a/kernel/inc/timer.h b/kernel/inc/timer.h
index 21dd437..d6123b4 100644
--- a/kernel/inc/timer.h
+++ b/kernel/inc/timer.h
@@ -10,4 +10,7 @@ void timer_wait(u32 ticks);
void timer_install(void);
void timer_handler(void); // For scheduler
+void scheduler_enable(void);
+void scheduler_disable(void);
+
#endif