Rev 1113 | Rev 1660 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1113 | Rev 1123 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | 28 | ||
29 | .text |
29 | .text |
30 | 30 | ||
31 | .set noat |
31 | .set noat |
32 | .set noreorder |
32 | .set noreorder |
33 | .set nomacro |
- | |
34 | 33 | ||
35 | 34 | ||
36 | #include <arch/asm/regname.h> |
35 | #include <arch/asm/regname.h> |
37 | #include <libarch/context_offset.h> |
36 | #include <libarch/context_offset.h> |
38 | 37 | ||
Line 81... | Line 80... | ||
81 | li $v0, 1 |
80 | li $v0, 1 |
82 | 81 | ||
83 | context_restore: |
82 | context_restore: |
84 | CONTEXT_LOAD $a0 |
83 | CONTEXT_LOAD $a0 |
85 | 84 | ||
- | 85 | # Just for the jump into first function, but one instruction |
|
- | 86 | # should not bother us |
|
- | 87 | move $t9, $ra |
|
86 | # context_restore returns 0 |
88 | # context_restore returns 0 |
87 | j $ra |
89 | j $ra |
88 | xor $v0, $v0 |
90 | xor $v0, $v0 |
- | 91 |