From bb2a6b4d93512e8afc1b1999eb58f1f506cc27ae Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 26 Jan 2020 18:38:36 +0100 Subject: Magic commit Some things work, others don't. --- src/kernel/timer/timer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/kernel/timer/timer.c') diff --git a/src/kernel/timer/timer.c b/src/kernel/timer/timer.c index cc98bc4..9bf6014 100644 --- a/src/kernel/timer/timer.c +++ b/src/kernel/timer/timer.c @@ -1,6 +1,7 @@ #include #include #include +#include unsigned long timer_ticks = 0; @@ -16,6 +17,7 @@ void timer_phase(int hz) void timer_handler(struct regs *r) { timer_ticks++; + // switch_task(); } // "Delay" function with CPU sleep -- cgit v1.2.3