mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
ARM7スタティックBSSクリアの高速化。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@412 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
9e3c86d18f
commit
89fd2d6640
@ -169,9 +169,8 @@ SDK_WEAK_SYMBOL asm void _start( void )
|
||||
ldr r1, [r0, #12] // BSS segment start
|
||||
ldr r2, [r0, #16] // BSS segment end
|
||||
mov r0, #0
|
||||
@2: cmp r1, r2
|
||||
strcc r0, [r1], #4
|
||||
bcc @2
|
||||
sub r2, r2, r1
|
||||
bl INITi_CpuClearFast
|
||||
|
||||
//---- detect main memory size
|
||||
bl INITi_DetectMainMemorySize
|
||||
|
||||
Loading…
Reference in New Issue
Block a user