Changeset 4b2c872d in mainline for arch/mips32/src/context.S


Ignore:
Timestamp:
2005-10-18T09:33:02Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8005218
Parents:
22f7769
Message:

Create generic context_save() and context_restore().
These two functions are defined inline and only call context_save_arch() and context_restore_arch(), respectively.
The main purpose of this is to enable centralized commenting of these important and tricky functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/src/context.S

    r22f7769 r4b2c872d  
    3737.set nomacro
    3838
    39 .global context_save
    40 .global context_restore
     39.global context_save_arch
     40.global context_restore_arch
    4141
    4242.macro CONTEXT_STORE r
     
    7373
    7474       
    75 context_save:
     75context_save_arch:
    7676        CONTEXT_STORE $a0
    7777
     
    8080        li $2, 1       
    8181       
    82 context_restore:
     82context_restore_arch:
    8383        CONTEXT_LOAD $a0
    8484
Note: See TracChangeset for help on using the changeset viewer.