summaryrefslogtreecommitdiff
path: root/Kernel/Time/APICTimer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Time/APICTimer.cpp')
-rw-r--r--Kernel/Time/APICTimer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Time/APICTimer.cpp b/Kernel/Time/APICTimer.cpp
index 96d792bf77..7f91f4a06b 100644
--- a/Kernel/Time/APICTimer.cpp
+++ b/Kernel/Time/APICTimer.cpp
@@ -128,6 +128,9 @@ bool APICTimer::calibrate(HardwareTimerBase& calibration_source)
}
#endif
+ // TODO: measure rather than assuming it matches?
+ m_frequency = calibration_source.ticks_per_second();
+
enable_local_timer();
return true;
}