Enable HPET main counter and disable legacy replacement during hardware detection
All checks were successful
All checks were successful
This commit is contained in:
@@ -190,6 +190,9 @@ HL::Timer::DetectHpet(VOID)
|
|||||||
HpetFrequency = 14318180;
|
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 success */
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user