mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-30 00:08:03 +00:00
APIC timer should tick every 1ms
This commit is contained in:
parent
ba425e59ca
commit
0ac4fa3e14
@ -328,7 +328,7 @@ namespace APIC
|
|||||||
this->lapic->Write(APIC_TDCR, Divider);
|
this->lapic->Write(APIC_TDCR, Divider);
|
||||||
this->lapic->Write(APIC_TICR, 0xFFFFFFFF);
|
this->lapic->Write(APIC_TICR, 0xFFFFFFFF);
|
||||||
|
|
||||||
TimeManager->Sleep(10);
|
TimeManager->Sleep(1);
|
||||||
|
|
||||||
// Mask the timer
|
// Mask the timer
|
||||||
this->lapic->Write(APIC_TIMER, 0x10000 /* LVTTimer.Mask flag */);
|
this->lapic->Write(APIC_TIMER, 0x10000 /* LVTTimer.Mask flag */);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user