summaryrefslogtreecommitdiff
path: root/firmware/usb.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/usb.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/usb.c')
-rw-r--r--firmware/usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index ee08b04caa..cf4641950e 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -428,7 +428,8 @@ void usb_init(void)
428#ifndef BOOTLOADER 428#ifndef BOOTLOADER
429 queue_init(&usb_queue, true); 429 queue_init(&usb_queue, true);
430 create_thread(usb_thread, usb_stack, sizeof(usb_stack), 430 create_thread(usb_thread, usb_stack, sizeof(usb_stack),
431 usb_thread_name IF_PRIO(, PRIORITY_SYSTEM)); 431 usb_thread_name IF_PRIO(, PRIORITY_SYSTEM)
432 IF_COP(, CPU, false));
432 433
433 tick_add_task(usb_tick); 434 tick_add_task(usb_tick);
434#endif 435#endif