mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-13 07:02:31 -05:00
ingenic: crt0.S fixes #3
Hopefyly this time is the final one. Change-Id: I386964f407ca98499e9a482507e4d5dfa02ee891
This commit is contained in:
parent
7066197ccc
commit
2f21f77ade
1 changed files with 5 additions and 6 deletions
|
|
@ -144,9 +144,9 @@ _iram_loop:
|
|||
la t0, _edata
|
||||
la t1, _end
|
||||
_bss_loop:
|
||||
addiu t1, 4
|
||||
addiu t0, 4
|
||||
bne t0, t1, _bss_loop
|
||||
sw zero, -4(t1)
|
||||
sw zero, -4(t0)
|
||||
|
||||
/*
|
||||
----------------------------------------------------
|
||||
|
|
@ -155,13 +155,12 @@ _bss_loop:
|
|||
*/
|
||||
la sp, stackend
|
||||
la t0, stackbegin
|
||||
move t1, sp
|
||||
li t2, 0xDEADBEEF
|
||||
|
||||
_stack_loop:
|
||||
addiu t1, 4
|
||||
bne t0, t1, _stack_loop
|
||||
sw t2, -4(t1)
|
||||
addiu t0, 4
|
||||
bne t0, sp, _stack_loop
|
||||
sw t2, -4(t0)
|
||||
|
||||
/*
|
||||
----------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue