apic: modify apic timer calibration a bit

This commit is contained in:
Matheus
2024-09-21 19:07:28 -03:00
parent 49dbac8e55
commit 100c045e36
+1 -1
View File
@@ -216,7 +216,7 @@ void arch_apic_timerinit() {
__assert(isr);
int vec = isr->id & 0xff;
writelapic(APIC_TIMER_DIVIDE, 3); // divide by 16 because us precision is desired and most amd64 machines will have the clock frequency at >1GHz anyways
writelapic(APIC_TIMER_DIVIDE, 11);
void (*uswait)(time_t) = NULL;