Changeset 3eebe571 in mainline


Ignore:
Timestamp:
2016-05-10T21:14:53Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1afd9ee
Parents:
2889634
Message:

Improve comments, don't state the obvious

File:
1 edited

Legend:

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

    r2889634 r3eebe571  
    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.