Fix syscall return value - preserve RAX register
All checks were successful
Build documentation / build-and-deploy (push) Successful in 39s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 39s
This commit is contained in:
@@ -37,7 +37,7 @@ amd64_syscall_entry:
|
|||||||
|
|
||||||
movq %rbp, %rsp
|
movq %rbp, %rsp
|
||||||
|
|
||||||
popq %rax; movq %rax, %cr3
|
popq %rbx; movq %rbx, %cr3
|
||||||
|
|
||||||
pop_regs_skip_rax
|
pop_regs_skip_rax
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user