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)); } __attribute__((packed));
struct syscall_regs { struct syscall_regs {
uint64_t __align;
uint64_t rax; uint64_t rax;
uint64_t rbx; uint64_t rbx;
uint64_t rcx; uint64_t rcx;

View File

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