mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Forgot to push %rbp in x64/syscall.s
This commit is contained in:
parent
0b1c2a77c9
commit
f0ec4ffacc
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue