diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-09-28 10:20:02 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-09-28 10:20:02 +0000 |
commit | 7914e90738ff37e6378b37632eb1f05bab7354d5 (patch) | |
tree | 6b3d6a6bac4c7a3f82fa212d5f3ed324d81dc8bb /firmware/app.lds | |
parent | edbf5d81f5a635a0db68039554b086f942b3e005 (diff) | |
download | rockbox-7914e90738ff37e6378b37632eb1f05bab7354d5.tar.gz rockbox-7914e90738ff37e6378b37632eb1f05bab7354d5.zip |
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
Diffstat (limited to 'firmware/app.lds')
-rw-r--r-- | firmware/app.lds | 13 |
1 files changed, 13 insertions, 0 deletions
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 | |||
197 | } > IRAM | 197 | } > IRAM |
198 | 198 | ||
199 | #ifdef CPU_PP | 199 | #ifdef CPU_PP |
200 | #if NUM_CORES > 1 | ||
201 | .idle_stacks : | ||
202 | { | ||
203 | *(.idle_stacks) | ||
204 | cpu_idlestackbegin = .; | ||
205 | . += 0x0080; | ||
206 | cpu_idlestackend = .; | ||
207 | cop_idlestackbegin = .; | ||
208 | . += 0x0080; | ||
209 | cop_idlestackend = .; | ||
210 | } > IRAM | ||
211 | #else | ||
200 | .cop_stack : | 212 | .cop_stack : |
201 | { | 213 | { |
202 | *(.cop_stack) | 214 | *(.cop_stack) |
@@ -205,6 +217,7 @@ SECTIONS | |||
205 | cop_stackend = .; | 217 | cop_stackend = .; |
206 | } > IRAM | 218 | } > IRAM |
207 | #endif | 219 | #endif |
220 | #endif | ||
208 | 221 | ||
209 | #else | 222 | #else |
210 | /* TRICK ALERT! We want 0x2000 bytes of stack, but we set the section | 223 | /* TRICK ALERT! We want 0x2000 bytes of stack, but we set the section |