diff options
Diffstat (limited to 'src/kernel/timer/timer.c')
-rw-r--r-- | src/kernel/timer/timer.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <kernel/interrupts/interrupts.h> #include <kernel/io/io.h> #include <kernel/system.h> +#include <kernel/tasks/task.h> 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 |