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

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

@ -342,7 +342,7 @@ ENTRY(virtualization_exception)
/*
// 0x80
ENTRY(syscall_int)
pushq $0
@ -350,5 +350,5 @@ ENTRY(syscall_int)
leaq do_syscall_int(%rip), %rax //
xchgq %rax, (%rsp) // FUNC
jmp Err_Code
*/