Almost finished scheduler, switched to circular linked list
This commit is contained in:
parent
edfbfdad14
commit
4c7ecb4012
10 changed files with 124 additions and 89 deletions
|
|
@ -239,10 +239,7 @@ void interrupt_handler(interrupt_frame *r){
|
|||
|
||||
if(r->int_no == 69 && get_cpu_struct_initialized()
|
||||
&& get_cpu_struct()->scheduler_initialized){
|
||||
if(get_cpu_struct()->current_process->state == RUNNING){
|
||||
enter_scheduler();
|
||||
}
|
||||
|
||||
yield();
|
||||
}
|
||||
|
||||
if(r->int_no == 70){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue