mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
能进入用户态程序,但无法正确进行系统调用
This commit is contained in:
@ -106,7 +106,7 @@ Err_Code:
|
||||
ENTRY(system_call)
|
||||
// 由于sysenter指令会禁用中断,因此要在这里手动开启中断
|
||||
sti;
|
||||
|
||||
hlt
|
||||
subq $0x38, %rsp
|
||||
|
||||
cld;
|
||||
|
Reference in New Issue
Block a user