sched: reschedule on sched interrupt
This commit is contained in:
parent
f03a30e07e
commit
f86ce66c75
4 changed files with 7 additions and 4 deletions
|
|
@ -137,7 +137,7 @@ void apic_enable_timer()
|
|||
lapic_write(lapic_addr, LAPIC_TIMER_DIV, 0x3);
|
||||
|
||||
/* set timer initial count */
|
||||
lapic_write(lapic_addr, LAPIC_TIMER_INIT_COUNT, 0xFFFFFFFF);
|
||||
lapic_write(lapic_addr, LAPIC_TIMER_INIT_COUNT, 0xFFFFFF);
|
||||
|
||||
/* set timer vector and enable */
|
||||
lapic_write(lapic_addr, LAPIC_TIMER, 0x20 | 0x20000);
|
||||
|
|
|
|||
Loading…
Reference in a new issue