:: commit caad1ecfe46195735bc792c0098f6652bee08859

Mintsuki <mintsuki@protonmail.com> — 2026-04-14 11:50

parents: d3456116ac

sys/cpu: Fix misleading comment in TSC calibration

diff --git a/common/sys/cpu.s2.c b/common/sys/cpu.s2.c
index 1c496bf3..9185007b 100644
--- a/common/sys/cpu.s2.c
+++ b/common/sys/cpu.s2.c
@@ -41,7 +41,7 @@ void calibrate_tsc(void) {
     // Calibrate TSC using PIT channel 2.
     // PIT oscillator frequency: 1193182 Hz
     // Count of 11932 gives ~10ms calibration interval.
-    // Run multiple rounds and take the highest (least SMI-disrupted) result.
+    // Run multiple rounds and take the smallest (least SMI-disrupted) result.
     #define PIT_CALIBRATION_COUNT 11932
     #define PIT_CALIBRATION_ROUNDS 3
 
tab: 248 wrap: offon