diff options
Diffstat (limited to 'sys/include/arch/amd64/frame.h')
-rw-r--r-- | sys/include/arch/amd64/frame.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/include/arch/amd64/frame.h b/sys/include/arch/amd64/frame.h index 8f7f8ca..b4ba8e7 100644 --- a/sys/include/arch/amd64/frame.h +++ b/sys/include/arch/amd64/frame.h @@ -72,7 +72,7 @@ struct trapframe { * undefined behaviour. * */ -.macro push_trapframe trapno +.macro push_trapframe trapno push %r15 push %r14 push %r13 @@ -91,7 +91,7 @@ struct trapframe { push \trapno .endm -.macro pop_trapframe trapno +.macro pop_trapframe add $8, %rsp /* Trapno */ pop %rax pop %rcx |