修正系统入口为系统调用门

This commit is contained in:
fslongjin
2022-04-22 23:15:34 +08:00
parent 677c505cb1
commit 2fcf91733f
6 changed files with 53 additions and 21 deletions

View File

@ -477,6 +477,7 @@ void do_IRQ(struct pt_regs *rsp, ul number)
else if (number == 0x80) // 系统调用
{
// ps: 当前已经将系统调用直接使用系统调用门实现,不走这里。。
do_syscall_int(rsp, 0);
}
else if (number > 0x80)