From 06e382afcbf199e5e4ec92574a3872ab04fb6e9e Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Thu, 4 Sep 2014 15:16:13 +0200 Subject: Improved physical memory manager and cleaning up. --- kernel/timer.c | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'kernel/timer.c') diff --git a/kernel/timer.c b/kernel/timer.c index b713674..da9e6bd 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -1,4 +1,3 @@ - /// PIT /// Timer stuff /* @@ -37,39 +36,6 @@ #include "../lib/logger/log.h" // logger facilities #define FOOLOS_MODULE_NAME "timer" -static uint64_t timer64=0; -static uint8_t timer8=0; -uint16_t timer16=0; - -// clock handler -/* -void int_clock_handler() -{ - X86_IRQ_BEGIN; - - timer64++; - - timer8++; - - if(timer8==25) - { - timer16++; - } - - if(timer8==25) - { -#ifdef DEBUG - scr_put_string("."); -#endif - timer8=0; - task_switch(); - - } - - X86_IRQ_END; - -} -*/ void timer_init() { -- cgit v1.2.3