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 %rdx
|
||||||
pushq %rbx
|
pushq %rbx
|
||||||
pushq %rsp
|
pushq %rsp
|
||||||
|
pushq %rbp
|
||||||
pushq %rsi
|
pushq %rsi
|
||||||
pushq %rdi
|
pushq %rdi
|
||||||
|
|
||||||
|
|
@ -115,6 +116,7 @@ return_to_userspace:
|
||||||
|
|
||||||
popq %rdi
|
popq %rdi
|
||||||
popq %rsi
|
popq %rsi
|
||||||
|
popq %rbp
|
||||||
popq %rsp
|
popq %rsp
|
||||||
popq %rbx
|
popq %rbx
|
||||||
popq %rdx
|
popq %rdx
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue