x86_64 syscall: fix comment

This commit is contained in:
Matheus
2022-11-20 20:12:39 -03:00
parent 75491f602f
commit fcbce08dd2
+2 -2
View File
@@ -151,7 +151,7 @@ asm_syscall_entry:
mov es, r11
; system V C abi expects the third param to be in rcx
; but the param is in rdx because of the syscall instruction
; but the param is in r10 because of the syscall instruction
mov rcx, r10
@@ -213,7 +213,7 @@ asm_syscall_entry:
pop rbp
add rsp, 0x30 ; err, rip, cs, rflags, rsp, ss
pop rsp ; actual rsp
cli