mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-06-07 20:27:59 +00:00
fix(kernel): remove redundant HPET counter test loop
This commit is contained in:
parent
0187fa5b66
commit
43e7ddb9de
@ -75,12 +75,6 @@ namespace Time
|
||||
mmoutl(&this->hpet->Configuration, 1);
|
||||
#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);
|
||||
if (!(cfg & 1))
|
||||
warn("HPET counter is not enabled!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user