Skip to content

Commit

Permalink
arch/x86_64/intel64: re-enable interrupts before syscall handle
Browse files Browse the repository at this point in the history
arch/x86_64/intel64: re-enable interrupts before syscall handle
  • Loading branch information
szafonimateusz-mi committed Nov 27, 2024
1 parent 1a08d36 commit 0e1e79f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/x86_64/src/intel64/intel64_head.S
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,9 @@ no_kstack_switch:
pushq %rdi
#endif

/* Re-enable interrupts */
sti

/* Return value from syscall stored in rax */
movq %rcx, %rdi
call x86_64_syscall
Expand Down

0 comments on commit 0e1e79f

Please sign in to comment.