Kernel: Various APIC timer fixes

This commit is contained in:
Tom 2020-10-25 20:10:02 -06:00 committed by Andreas Kling
commit 8c764319ad
Notes: sideshowbarker 2024-07-19 01:43:23 +09:00
2 changed files with 1 additions and 2 deletions

View file

@ -588,7 +588,6 @@ void APIC::setup_local_timer(u32 ticks, TimerMode timer_mode, bool enable)
default:
ASSERT_NOT_REACHED();
}
config |= 3; // divide by 16
write_register(APIC_REG_TIMER_CONFIGURATION, config);
if (timer_mode == TimerMode::Periodic)