From cf53e4a0207c31c644017d4ff822fea268bdce91 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Thu, 1 Dec 2011 14:29:49 +0100 Subject: [PATCH] Fixed 64-bit resumed system calls. --- sortix/x64/syscall.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sortix/x64/syscall.s b/sortix/x64/syscall.s index ad9dc3ab..c164a54a 100644 --- a/sortix/x64/syscall.s +++ b/sortix/x64/syscall.s @@ -143,7 +143,7 @@ resume_syscall: movq %rsp, %rbp movq %rdi, %rax - movq %rsi, %r11 + movq %rdx, %r11 movq 0(%r11), %rdi movq 8(%r11), %rsi