diff options
Diffstat (limited to 'kernel/drivers/timer.c')
-rw-r--r-- | kernel/drivers/timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/drivers/timer.c b/kernel/drivers/timer.c index 766512f..8887279 100644 --- a/kernel/drivers/timer.c +++ b/kernel/drivers/timer.c @@ -4,11 +4,12 @@ #include <def.h> #include <interrupts.h> #include <proc.h> +#include <timer.h> static u32 timer_ticks = 0; static u8 call_scheduler = 0; -void timer_phase(int hz) +static void timer_phase(int hz) { int divisor = 3579545 / 3 / hz; outb(0x43, 0x36); // 01 10 11 0b // CTR, RW, MODE, BCD |