Move scheduler to new global class format.
This commit is contained in:
parent
7fe6c24aa5
commit
de49dcc01a
7 changed files with 105 additions and 134 deletions
|
|
@ -123,7 +123,7 @@ extern "C" void interrupt_timer(InterruptFrame*) {
|
|||
dbgln("timer: %us", cnt * 50 / 1000);
|
||||
}
|
||||
outb(PIC1_COMMAND, PIC_EOI);
|
||||
sched::Preempt();
|
||||
gScheduler->Preempt();
|
||||
}
|
||||
|
||||
void EnablePic() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue