Changes in kernel/arch/mips32/src/context.S [0407636:33add3a8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/context.S
r0407636 r33add3a8 27 27 # 28 28 29 #include <abi/asmtool.h>30 29 #include <arch/context_struct.h> 31 30 … … 36 35 .set nomacro 37 36 38 FUNCTION_BEGIN(context_save_arch) 37 .global context_save_arch 38 .global context_restore_arch 39 40 context_save_arch: 39 41 sw $s0, CONTEXT_OFFSET_S0($a0) 40 42 sw $s1, CONTEXT_OFFSET_S1($a0) … … 54 56 j $31 55 57 li $2, 1 56 FUNCTION_END(context_save_arch)57 58 58 FUNCTION_BEGIN(context_restore_arch) 59 context_restore_arch: 59 60 lw $s0, CONTEXT_OFFSET_S0($a0) 60 61 lw $s1, CONTEXT_OFFSET_S1($a0) … … 74 75 j $31 75 76 xor $2, $2 76 FUNCTION_END(context_restore_arch)
Note:
See TracChangeset
for help on using the changeset viewer.