summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-06-17 20:15:58 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-06-17 20:15:58 +0000
commit2b640ba4b8a0007821677fc9f3cf9e856d53417e (patch)
treeb68204a1c5a33a93980a7903bc5cb4a906af5938 /apps
parent69028d5d31384a0a97bd42081cacb01eb5d52793 (diff)
downloadrockbox-2b640ba4b8a0007821677fc9f3cf9e856d53417e.zip
rockbox-2b640ba4b8a0007821677fc9f3cf9e856d53417e.tar.gz
rockbox-2b640ba4b8a0007821677fc9f3cf9e856d53417e.tar.bz2
rockbox-2b640ba4b8a0007821677fc9f3cf9e856d53417e.tar.xz
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
Diffstat (limited to 'apps')
-rw-r--r--apps/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/main.c b/apps/main.c
index 858ec03..2555deb 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -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 */