summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-08 17:08:55 +0200
committerMiguel <m.i@gmx.at>2018-09-08 17:08:55 +0200
commit9fde748acea83d775e367a64858414b674f05b13 (patch)
tree0927b570c07c9ee469817a560b965c094c5d8145 /driver
parentaa4b4c6c1918a51318709761873d1c5e248a831d (diff)
struggling with pic and lapic and smp...
Diffstat (limited to 'driver')
-rw-r--r--driver/timer.c3
1 files changed, 1 insertions, 2 deletions
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;
}