Almost there!
This commit is contained in:
parent
cdb73836b0
commit
81f56083c5
@ -57,6 +57,7 @@ void Scheduler::init()
|
|||||||
// the other registers will be saved next task switch
|
// the other registers will be saved next task switch
|
||||||
|
|
||||||
frequency = 1000 / PIT::frequency();
|
frequency = 1000 / PIT::frequency();
|
||||||
|
kdbgln("frequency: %ld", frequency);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Scheduler::add_kernel_task(void (*task)(void))
|
void Scheduler::add_kernel_task(void (*task)(void))
|
||||||
|
Loading…
Reference in New Issue
Block a user