Work on scheduler
This commit is contained in:
parent
e72c8fe6fd
commit
184f1a60de
9 changed files with 67 additions and 41 deletions
|
|
@ -241,7 +241,7 @@ void interrupt_handler(interrupt_frame *r){
|
|||
}
|
||||
|
||||
if(r->int_no == 69 && get_cpu_struct_initialized()
|
||||
&& get_cpu_struct()->scheduler_initialized){
|
||||
&& get_current_cpu_struct()->scheduler_initialized){
|
||||
yield();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue