mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
修正系统入口为系统调用门
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user