@@ -148,6 +148,9 @@ x86_syscall:
|
|||||||
|
|
||||||
.globl enter_user_mode
|
.globl enter_user_mode
|
||||||
enter_user_mode:
|
enter_user_mode:
|
||||||
|
movq $0, %rdi
|
||||||
|
movq %rsp, %rsi
|
||||||
|
call check_signal
|
||||||
POP_ALL_REGS
|
POP_ALL_REGS
|
||||||
addq $8, %rsp
|
addq $8, %rsp
|
||||||
iretq
|
iretq
|
||||||
|
|||||||
Reference in New Issue
Block a user