mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 21:58:20 +00:00
timer: limit
This commit is contained in:
@@ -237,7 +237,7 @@ void arch_apic_timerinit() {
|
||||
|
||||
writelapic(APIC_LVT_TIMER, vec);
|
||||
|
||||
current_cpu()->timer = timer_new(ticksperus, armtimer, stoptimer);
|
||||
current_cpu()->timer = timer_new(ticksperus, armtimer, stoptimer, 0xffffffff);
|
||||
__assert(current_cpu()->timer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user