diff options
Diffstat (limited to 'kernel/timer.c')
| -rw-r--r-- | kernel/timer.c | 34 |
1 files changed, 0 insertions, 34 deletions
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() { |
