forked from len0rd/rockbox
PortalPlayer: Loading of stack munge value into r4 was moved in r30741 to after the idle stack init loop, breaking the usage readout.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31068 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a99d9eca0b
commit
47452dcd5c
1 changed files with 17 additions and 17 deletions
|
|
@ -262,6 +262,9 @@ cpu_init:
|
|||
strhi r4, [r2], #4
|
||||
bhi 1b
|
||||
|
||||
/* Load stack munge value */
|
||||
ldr r4, =0xdeadbeef
|
||||
|
||||
#if NUM_CORES > 1
|
||||
/* Set up idle stack and munge it with 0xdeadbeef */
|
||||
ldr r2, =cpu_idlestackbegin
|
||||
|
|
@ -290,9 +293,6 @@ cpu_init:
|
|||
/* Switch to sys mode */
|
||||
msr cpsr_c, #0xdf
|
||||
|
||||
/* Load stack munge value */
|
||||
ldr r4, =0xdeadbeef
|
||||
|
||||
/* Set up some stack and munge it with 0xdeadbeef */
|
||||
ldr r2, =stackbegin
|
||||
ldr sp, =stackend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue