Changes in uspace/lib/c/arch/mips32/src/fibril.S [df366b5e:c0699467] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/mips32/src/fibril.S
rdf366b5e rc0699467 33 33 34 34 #include <libarch/context_offset.h> 35 35 36 36 .global context_save 37 37 .global context_restore 38 38 39 39 context_save: 40 40 CONTEXT_SAVE_ARCH_CORE $a0 41 41 42 42 # context_save returns 1 43 43 j $ra 44 li $v0, 1 45 44 li $v0, 1 45 46 46 context_restore: 47 47 CONTEXT_RESTORE_ARCH_CORE $a0 48 49 # Just for the jump into first function, 50 # but one instruction should not bother us 51 move $t9, $ra 52 48 49 # Just for the jump into first function, but one instruction 50 # should not bother us 51 move $t9, $ra 53 52 # context_restore returns 0 54 53 j $ra 55 xor $v0, $v0 54 xor $v0, $v0 55
Note:
See TracChangeset
for help on using the changeset viewer.