完善execve,使其能加载用户程序文件

This commit is contained in:
fslongjin
2022-05-05 14:14:34 +08:00
parent 1801ddffbd
commit 099b24539a
6 changed files with 161 additions and 42 deletions

View File

@ -75,7 +75,7 @@ void sched_cfs()
}
}
// kdebug("before switch, next.rip = %#018lx\tnext->gs=%#018lx", proc->thread->rip, proc->thread->gs);
process_switch_mm(current_pcb, proc);
process_switch_mm(proc);
switch_proc(current_pcb, proc);
}
else // 不进行切换