summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c
diff options
context:
space:
mode:
authorDaniel Ankers <dan@weirdo.org.uk>2007-03-04 20:06:41 +0000
committerDaniel Ankers <dan@weirdo.org.uk>2007-03-04 20:06:41 +0000
commit82f9056988331572e01231d70fadc64b7ab76c6f (patch)
tree9f1d33b904516fd5eeac2067e4afb32ce5e990df /firmware/mpeg.c
parent74e572c9d600247ee795b206da3715f6af442a25 (diff)
downloadrockbox-82f9056988331572e01231d70fadc64b7ab76c6f.tar.gz
rockbox-82f9056988331572e01231d70fadc64b7ab76c6f.zip
Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r--firmware/mpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index 9afa8a20bd..909a21dcda 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -2905,7 +2905,8 @@ void audio_init(void)
2905 queue_init(&mpeg_queue, true); 2905 queue_init(&mpeg_queue, true);
2906#endif /* !SIMULATOR */ 2906#endif /* !SIMULATOR */
2907 create_thread(mpeg_thread, mpeg_stack, 2907 create_thread(mpeg_thread, mpeg_stack,
2908 sizeof(mpeg_stack), mpeg_thread_name IF_PRIO(, PRIORITY_SYSTEM)); 2908 sizeof(mpeg_stack), mpeg_thread_name IF_PRIO(, PRIORITY_SYSTEM)
2909 IF_COP(, CPU, false));
2909 2910
2910 memset(trackdata, sizeof(trackdata), 0); 2911 memset(trackdata, sizeof(trackdata), 0);
2911 2912