Change the number of push to align stack

This commit is contained in:
Baptiste Wicht 2014-03-08 22:34:07 +01:00
parent f956ea8e0d
commit 0fc244cdd2
2 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,7 @@ struct fault_regs {
} __attribute__((packed));
struct syscall_regs {
uint64_t __align;
uint64_t rax;
uint64_t rbx;
uint64_t rcx;

View File

@ -37,9 +37,11 @@
push rcx
push rbx
push rax
push rax
.endm
.macro restore_context
pop rax
pop rax
pop rbx
pop rcx