mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-23 08:06:11 +00:00
Kernel: Report more accurate ticks per second for APIC timer
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user