From 7914e90738ff37e6378b37632eb1f05bab7354d5 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 28 Sep 2007 10:20:02 +0000 Subject: Commit a subset of the dual core changes that have to do with cache handling, stacks, firmware startup and thread startup. Tested on e200, H10-20GB, iPod Color and 5.5G. Thread function return implemented for all targets. Some changes to plugins to follow shortly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14879 a1c6a512-1295-4272-9138-f99709370657 --- firmware/app.lds | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'firmware/app.lds') diff --git a/firmware/app.lds b/firmware/app.lds index 6c67a96481..8df9aaf8e3 100644 --- a/firmware/app.lds +++ b/firmware/app.lds @@ -197,6 +197,18 @@ SECTIONS } > IRAM #ifdef CPU_PP +#if NUM_CORES > 1 + .idle_stacks : + { + *(.idle_stacks) + cpu_idlestackbegin = .; + . += 0x0080; + cpu_idlestackend = .; + cop_idlestackbegin = .; + . += 0x0080; + cop_idlestackend = .; + } > IRAM +#else .cop_stack : { *(.cop_stack) @@ -205,6 +217,7 @@ SECTIONS cop_stackend = .; } > IRAM #endif +#endif #else /* TRICK ALERT! We want 0x2000 bytes of stack, but we set the section -- cgit v1.2.3