From 2b640ba4b8a0007821677fc9f3cf9e856d53417e Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Thu, 17 Jun 2010 20:15:58 +0000 Subject: 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 --- apps/main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'apps') 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) } #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 */ -- cgit v1.2.3