Preserve syscall return value in RAX
All checks were successful
Build documentation / build-and-deploy (push) Successful in 49s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 49s
This commit is contained in:
@@ -35,4 +35,21 @@
|
||||
popq % rcx; \
|
||||
popq % rax;
|
||||
|
||||
#define pop_regs_skip_rax \
|
||||
popq % r15; \
|
||||
popq % r14; \
|
||||
popq % r13; \
|
||||
popq % r12; \
|
||||
popq % r11; \
|
||||
popq % r10; \
|
||||
popq % r9; \
|
||||
popq % r8; \
|
||||
popq % rbx; \
|
||||
popq % rbp; \
|
||||
popq % rdi; \
|
||||
popq % rsi; \
|
||||
popq % rdx; \
|
||||
popq % rcx; \
|
||||
addq $8, % rsp
|
||||
|
||||
#endif // _KERNEL_AMD64_REGSASM_H
|
||||
|
||||
Reference in New Issue
Block a user