Changeset da585a52 in mainline for arch/ia32/src/context.s


Ignore:
Timestamp:
2005-05-11T18:58:54Z (20 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d7568a9f
Parents:
93ca46f
Message:

doxygen-style comments

File:
1 edited

Legend:

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

    r93ca46f rda585a52  
    3636.global fpu_lazy_context_restore
    3737
     38
     39## Save current CPU context
    3840#
    39 # save context of this CPU
     41# Save CPU context to the kernel_context variable
     42# pointed by the 1st argument. Returns 1 in EAX.
     43#
    4044context_save:
    4145        push %ebx
     
    5963        incl %eax
    6064        ret
    61    
     65
     66
     67## Restore current CPU context
    6268#
    63 # restore saved context on this CPU
     69# Restore CPU context from the kernel_context variable
     70# pointed by the 1st argument. Returns 0 in EAX.
     71#   
    6472context_restore:
    6573        movl 4(%esp),%eax       # address of the kernel_context variable to restore context from
     
    7886        xorl %eax,%eax          # context_restore returns 0
    7987        ret
    80 
    81 
Note: See TracChangeset for help on using the changeset viewer.