Update timing implementation

This commit is contained in:
Alex
2023-04-23 05:30:58 +03:00
parent 7e201e0958
commit 89d747e52c
10 changed files with 308 additions and 117 deletions

View File

@ -377,7 +377,7 @@ namespace APIC
this->lapic->Write(APIC_TDCR, Divider);
this->lapic->Write(APIC_TICR, 0xFFFFFFFF);
TimeManager->Sleep(1);
TimeManager->Sleep(1, Time::Units::Milliseconds);
// Mask the timer
this->lapic->Write(APIC_TIMER, 0x10000 /* LVTTimer.Mask flag */);