Changes in kernel/arch/mips32/src/context.S [33add3a8:0407636] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/context.S
r33add3a8 r0407636 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.