Rev 1212 | Rev 1278 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1212 | Rev 1222 | ||
---|---|---|---|
Line 184... | Line 184... | ||
184 | ori $sp, $sp, %lo(end_stack) |
184 | ori $sp, $sp, %lo(end_stack) |
185 | 185 | ||
186 | /* Not sure about this, but might be needed for PIC code???? */ |
186 | /* Not sure about this, but might be needed for PIC code???? */ |
187 | lui $gp, 0x8000 |
187 | lui $gp, 0x8000 |
188 | 188 | ||
- | 189 | jal arch_pre_main |
|
- | 190 | nop |
|
- | 191 | ||
189 | jal main_bsp |
192 | j main_bsp |
190 | nop |
193 | nop |
191 | - | ||
192 | 194 | ||
193 | .space TEMP_STACK_SIZE |
195 | .space TEMP_STACK_SIZE |
194 | end_stack: |
196 | end_stack: |
195 | 197 | ||
196 | tlb_refill_entry: |
198 | tlb_refill_entry: |
Line 319... | Line 321... | ||
319 | userspace_asm: |
321 | userspace_asm: |
320 | add $sp, $a0, 0 |
322 | add $sp, $a0, 0 |
321 | add $v0, $a1, 0 |
323 | add $v0, $a1, 0 |
322 | add $t9, $a2, 0 # Set up correct entry into PIC code |
324 | add $t9, $a2, 0 # Set up correct entry into PIC code |
323 | eret |
325 | eret |
324 | - |