mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-15 07:27:42 -04:00
Change the number of push to align stack
This commit is contained in:
parent
f956ea8e0d
commit
0fc244cdd2
@ -26,6 +26,7 @@ struct fault_regs {
|
||||
} __attribute__((packed));
|
||||
|
||||
struct syscall_regs {
|
||||
uint64_t __align;
|
||||
uint64_t rax;
|
||||
uint64_t rbx;
|
||||
uint64_t rcx;
|
||||
|
@ -37,9 +37,11 @@
|
||||
push rcx
|
||||
push rbx
|
||||
push rax
|
||||
push rax
|
||||
.endm
|
||||
|
||||
.macro restore_context
|
||||
pop rax
|
||||
pop rax
|
||||
pop rbx
|
||||
pop rcx
|
||||
|
Loading…
x
Reference in New Issue
Block a user