Changeset 0dc2fec in mainline for kernel/arch/amd64/src/context.S


Ignore:
Timestamp:
2016-05-22T19:19:43Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b272c67a
Parents:
153c7a29 (diff), af2254ec (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/context.S

    r153c7a29 r0dc2fec  
    3939#
    4040FUNCTION_BEGIN(context_save_arch)
    41         movq (%rsp), %rdx     # the caller's return %eip
     41        movq (%rsp), %rdx     # the caller's return %rip
    4242       
    43         # 1st argument passed in %edi
    4443        movq %rdx, CONTEXT_OFFSET_PC(%rdi)
    4544        movq %rsp, CONTEXT_OFFSET_SP(%rdi)
     
    7574        movq CONTEXT_OFFSET_RBX(%rdi), %rbx
    7675       
    77         movq CONTEXT_OFFSET_SP(%rdi), %rsp   # ctx->sp -> %rsp
     76        movq CONTEXT_OFFSET_SP(%rdi), %rsp
    7877       
    7978        movq CONTEXT_OFFSET_PC(%rdi), %rdx
Note: See TracChangeset for help on using the changeset viewer.