Use cached address when running from ROM
This commit is contained in:
parent
144d0913f3
commit
8d15b3f817
1 changed files with 8 additions and 1 deletions
|
@ -618,4 +618,11 @@ continue:
|
||||||
|
|
||||||
addiu $a0, $zero, -1
|
addiu $a0, $zero, -1
|
||||||
addiu $a1, $zero, -1
|
addiu $a1, $zero, -1
|
||||||
addiu $a2, $zero, -1
|
|
||||||
|
/* Take advantage of cache. */
|
||||||
|
lui $t0, %hi(cached_continue - 0x20000000)
|
||||||
|
addiu $t0, $t0, %lo(cached_continue - 0x20000000)
|
||||||
|
jr $t0
|
||||||
|
addiu $a2, $zero, -1
|
||||||
|
|
||||||
|
cached_continue:
|
Loading…
Reference in a new issue