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.tar.gz
rockbox-2b640ba4b8a0007821677fc9f3cf9e856d53417e.zip
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 858ec03847..2555deb12f 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -694,7 +694,7 @@ static void init(void)
694} 694}
695 695
696#ifdef CPU_PP 696#ifdef CPU_PP
697void cop_main(void) 697void __attribute__((noreturn)) cop_main(void)
698{ 698{
699/* This is the entry point for the coprocessor 699/* This is the entry point for the coprocessor
700 Anyone not running an upgraded bootloader will never reach this point, 700 Anyone not running an upgraded bootloader will never reach this point,
@@ -705,7 +705,6 @@ void cop_main(void)
705 destroyed for purposes of continuity. The cop sits idle until at least 705 destroyed for purposes of continuity. The cop sits idle until at least
706 one thread exists on it. */ 706 one thread exists on it. */
707 707
708/* 3G doesn't have Rolo or dual core support yet */
709#if NUM_CORES > 1 708#if NUM_CORES > 1
710 system_init(); 709 system_init();
711 kernel_init(); 710 kernel_init();
@@ -717,5 +716,4 @@ void cop_main(void)
717} 716}
718#endif /* CPU_PP */ 717#endif /* CPU_PP */
719 718
720#endif 719#endif /* SIMULATOR */
721