激活FAT32

This commit is contained in:
fslongjin
2022-04-26 13:12:59 +08:00
parent c14bd25059
commit d94d92f5ee
6 changed files with 33 additions and 60 deletions

View File

@ -74,7 +74,7 @@ void sched_cfs()
break;
}
}
kdebug("before switch, next.rip = %#018lx\tnext->gs=%#018lx", proc->thread->rip, proc->thread->gs);
// kdebug("before switch, next.rip = %#018lx\tnext->gs=%#018lx", proc->thread->rip, proc->thread->gs);
switch_proc(current_pcb, proc);
}
else // 不进行切换
@ -108,8 +108,8 @@ void sched_cfs()
*/
void sched_update_jiffies()
{
//if (current_pcb->cpu_id == 0)
// return;
// if (current_pcb->cpu_id == 0)
// return;
switch (current_pcb->priority)
{
case 0: