mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-24 21:51:43 +00:00
fix(kernel): remove redundant HPET counter test loop
This commit is contained in:
@@ -75,12 +75,6 @@ namespace Time
|
|||||||
mmoutl(&this->hpet->Configuration, 1);
|
mmoutl(&this->hpet->Configuration, 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (int i = 0; i < 5; i++)
|
|
||||||
{
|
|
||||||
uint64_t val = mminq(&this->hpet->MainCounter);
|
|
||||||
KPrint("HPET counter test %d: %llu", i, val);
|
|
||||||
}
|
|
||||||
|
|
||||||
uint64_t cfg = mminq(&this->hpet->Configuration);
|
uint64_t cfg = mminq(&this->hpet->Configuration);
|
||||||
if (!(cfg & 1))
|
if (!(cfg & 1))
|
||||||
warn("HPET counter is not enabled!");
|
warn("HPET counter is not enabled!");
|
||||||
|
Reference in New Issue
Block a user