x86_64: Enable interrupts in syscall
This commit is contained in:
@@ -40,6 +40,7 @@ void arch_syscall_stub() {
|
||||
" push r15\n"
|
||||
" xor rbp, rbp\n"
|
||||
" mov rdi, rsp\n" // SysV ABI first argument.
|
||||
" sti\n"
|
||||
" call syscall_dispatch\n" // Call syscall handler.
|
||||
" cli\n"
|
||||
" pop r15\n"
|
||||
|
||||
Reference in New Issue
Block a user