Changeset 76cec1e in mainline for arch/ia32/src/context.s


Ignore:
Timestamp:
2005-07-15T21:57:30Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b4a4c5e3
Parents:
e41c47e
Message:

Huge indentation fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/context.s

    re41c47e r76cec1e  
    4343        movl 4(%esp),%eax       # the caller's return %eip
    4444        movl 8(%esp),%ebx       # address of the kernel_context variable to save context to
    45         movl %eax,4(%ebx)       # %eip -> ctx->pc
     45        movl %eax,4(%ebx)       # %eip -> ctx->pc
    4646        movl %esp,(%ebx)        # %esp -> ctx->sp
    4747
     
    5454        movl %esi,20(%eax)
    5555        movl %edi,24(%eax)
    56         movl %ebp,28(%eax)   
    57    
     56        movl %ebp,28(%eax)
     57
    5858        xorl %eax,%eax          # context_save returns 1
    5959        incl %eax
     
    6565# Restore CPU context from the kernel_context variable
    6666# pointed by the 1st argument. Returns 0 in EAX.
    67 #   
     67#
    6868context_restore:
    6969        movl 4(%esp),%eax       # address of the kernel_context variable to restore context from
     
    8080        movl 4(%eax),%eax
    8181        movl %eax,(%esp)        # ctx->pc -> saver's return %eip
    82         xorl %eax,%eax          # context_restore returns 0
     82        xorl %eax,%eax          # context_restore returns 0
    8383        ret
Note: See TracChangeset for help on using the changeset viewer.