Changeset 32573ff in mainline for kernel/arch/mips32/src/context.S
- Timestamp:
- 2016-05-02T20:58:16Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c4b26c
- Parents:
- 6adb775f (diff), 5035ba05 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/context.S
r6adb775f r32573ff 27 27 # 28 28 29 #include <abi/asmtool.h> 29 30 #include <arch/context_struct.h> 30 31 … … 35 36 .set nomacro 36 37 37 .global context_save_arch 38 .global context_restore_arch 39 40 context_save_arch: 38 FUNCTION_BEGIN(context_save_arch) 41 39 sw $s0, CONTEXT_OFFSET_S0($a0) 42 40 sw $s1, CONTEXT_OFFSET_S1($a0) … … 56 54 j $31 57 55 li $2, 1 56 FUNCTION_END(context_save_arch) 58 57 59 context_restore_arch: 58 FUNCTION_BEGIN(context_restore_arch) 60 59 lw $s0, CONTEXT_OFFSET_S0($a0) 61 60 lw $s1, CONTEXT_OFFSET_S1($a0) … … 75 74 j $31 76 75 xor $2, $2 76 FUNCTION_END(context_restore_arch)
Note:
See TracChangeset
for help on using the changeset viewer.