From 9fde748acea83d775e367a64858414b674f05b13 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sat, 8 Sep 2018 17:08:55 +0200 Subject: struggling with pic and lapic and smp... --- driver/timer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'driver') diff --git a/driver/timer.c b/driver/timer.c index 3a8c31c..d30a299 100644 --- a/driver/timer.c +++ b/driver/timer.c @@ -1,4 +1,3 @@ - #include "timer.h" #include "asm_x86.h" @@ -152,7 +151,7 @@ uint64_t timer_init() { uint64_t epoch_time=get_rtc_time(); task_system_clock_start=epoch_time*25; // since pit ticks 25times a second - asm_pit_init(); + asm_pit_rate_40ms(); return epoch_time; } -- cgit v1.2.3