forked from len0rd/rockbox
Switch iPod 3G to use EABI toolchain. Make necessary threading changes to avoid use of stack after switching to idle stack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26898 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
69028d5d31
commit
2b640ba4b8
5 changed files with 54 additions and 33 deletions
|
|
@ -694,7 +694,7 @@ static void init(void)
|
|||
}
|
||||
|
||||
#ifdef CPU_PP
|
||||
void cop_main(void)
|
||||
void __attribute__((noreturn)) cop_main(void)
|
||||
{
|
||||
/* This is the entry point for the coprocessor
|
||||
Anyone not running an upgraded bootloader will never reach this point,
|
||||
|
|
@ -705,7 +705,6 @@ void cop_main(void)
|
|||
destroyed for purposes of continuity. The cop sits idle until at least
|
||||
one thread exists on it. */
|
||||
|
||||
/* 3G doesn't have Rolo or dual core support yet */
|
||||
#if NUM_CORES > 1
|
||||
system_init();
|
||||
kernel_init();
|
||||
|
|
@ -717,5 +716,4 @@ void cop_main(void)
|
|||
}
|
||||
#endif /* CPU_PP */
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* SIMULATOR */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue