forked from len0rd/rockbox
Turns out I don't have a magic DAP. :( I didn't get the problem because I RoLod it. Clean the useless macros from thread_init and leave it for spawned threads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12488 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
306aa7552a
commit
1915c10994
1 changed files with 0 additions and 2 deletions
|
@ -769,12 +769,10 @@ void init_threads(void)
|
|||
* probably a much better way to do this. */
|
||||
if (core == CPU)
|
||||
{
|
||||
THREAD_CPU_INIT(core, &cores[CPU].threads[0]);
|
||||
cores[CPU].threads[0].stack = stackbegin;
|
||||
cores[CPU].threads[0].stack_size = (int)stackend - (int)stackbegin;
|
||||
} else {
|
||||
#if NUM_CORES > 1 /* This code path will not be run on single core targets */
|
||||
THREAD_CPU_INIT(core, &cores[COP].threads[0]);
|
||||
cores[COP].threads[0].stack = cop_stackbegin;
|
||||
cores[COP].threads[0].stack_size =
|
||||
(int)cop_stackend - (int)cop_stackbegin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue