From f0ec4ffacc98c95bd3ac11afa14b60b435e911bf Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Tue, 29 Nov 2011 11:44:29 +0100 Subject: [PATCH] Forgot to push %rbp in x64/syscall.s --- sortix/x64/syscall.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sortix/x64/syscall.s b/sortix/x64/syscall.s index c3dc44c6..85b3bd8f 100644 --- a/sortix/x64/syscall.s +++ b/sortix/x64/syscall.s @@ -47,6 +47,7 @@ syscall_handler: pushq %rdx pushq %rbx pushq %rsp + pushq %rbp pushq %rsi pushq %rdi @@ -115,6 +116,7 @@ return_to_userspace: popq %rdi popq %rsi + popq %rbp popq %rsp popq %rbx popq %rdx