Changeset 0407636 in mainline for uspace/lib/c/arch/mips32/src/fibril.S
- Timestamp:
- 2016-04-24T07:30:53Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b66cc97
- Parents:
- a52e2f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/mips32/src/fibril.S
ra52e2f4 r0407636 32 32 .set noreorder 33 33 34 #include <abi/asmtool.h> 34 35 #include <libarch/fibril_context.h> 35 36 36 .global context_save 37 .global context_restore 38 39 context_save: 37 FUNCTION_BEGIN(context_save) 40 38 sw $s0, CONTEXT_OFFSET_S0($a0) 41 39 sw $s1, CONTEXT_OFFSET_S1($a0) … … 92 90 j $ra 93 91 li $v0, 1 92 FUNCTION_END(context_save) 94 93 95 context_restore: 94 FUNCTION_BEGIN(context_restore) 96 95 lw $s0, CONTEXT_OFFSET_S0($a0) 97 96 lw $s1, CONTEXT_OFFSET_S1($a0) … … 151 150 j $ra 152 151 xor $v0, $v0 152 FUNCTION_END(context_restore)
Note:
See TracChangeset
for help on using the changeset viewer.