Enable HPET main counter and disable legacy replacement during hardware detection
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in -59m23s
Builds / ExectOS (amd64, release) (push) Successful in -59m26s
Builds / ExectOS (i686, release) (push) Successful in -59m26s
Builds / ExectOS (i686, debug) (push) Successful in -59m24s

This commit is contained in:
2026-05-09 13:13:30 +02:00
parent 976eee9ce3
commit 6b14f31107

View File

@@ -190,6 +190,9 @@ HL::Timer::DetectHpet(VOID)
HpetFrequency = 14318180;
}
/* Enable the HPET main counter and disable legacy replacement */
Hpet->GeneralConfiguration = (Hpet->GeneralConfiguration & ~HPET_CONFIG_LEGACY_REPLACEMENT) | HPET_CONFIG_ENABLE;
/* Return success */
return STATUS_SUCCESS;
}