Changes in kernel/arch/amd64/src/context.S [1a5eca4:3eebe571] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/context.S
r1a5eca4 r3eebe571 39 39 # 40 40 FUNCTION_BEGIN(context_save_arch) 41 movq (%rsp), %rdx # the caller's return % eip41 movq (%rsp), %rdx # the caller's return %rip 42 42 43 # 1st argument passed in %edi44 43 movq %rdx, CONTEXT_OFFSET_PC(%rdi) 45 44 movq %rsp, CONTEXT_OFFSET_SP(%rdi) … … 75 74 movq CONTEXT_OFFSET_RBX(%rdi), %rbx 76 75 77 movq CONTEXT_OFFSET_SP(%rdi), %rsp # ctx->sp -> %rsp76 movq CONTEXT_OFFSET_SP(%rdi), %rsp 78 77 79 78 movq CONTEXT_OFFSET_PC(%rdi), %rdx
Note:
See TracChangeset
for help on using the changeset viewer.