diff options
author | Daniel Ankers <dan@weirdo.org.uk> | 2007-03-04 20:06:41 +0000 |
---|---|---|
committer | Daniel Ankers <dan@weirdo.org.uk> | 2007-03-04 20:06:41 +0000 |
commit | 82f9056988331572e01231d70fadc64b7ab76c6f (patch) | |
tree | 9f1d33b904516fd5eeac2067e4afb32ce5e990df /firmware/drivers/ata_mmc.c | |
parent | 74e572c9d600247ee795b206da3715f6af442a25 (diff) | |
download | rockbox-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/drivers/ata_mmc.c')
-rw-r--r-- | firmware/drivers/ata_mmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c index a549624b2c..377d2444bf 100644 --- a/firmware/drivers/ata_mmc.c +++ b/firmware/drivers/ata_mmc.c | |||
@@ -1173,7 +1173,8 @@ int ata_init(void) | |||
1173 | 1173 | ||
1174 | queue_init(&mmc_queue, true); | 1174 | queue_init(&mmc_queue, true); |
1175 | create_thread(mmc_thread, mmc_stack, | 1175 | create_thread(mmc_thread, mmc_stack, |
1176 | sizeof(mmc_stack), mmc_thread_name IF_PRIO(, PRIORITY_SYSTEM)); | 1176 | sizeof(mmc_stack), mmc_thread_name IF_PRIO(, PRIORITY_SYSTEM) |
1177 | IF_COP(, CPU, false)); | ||
1177 | tick_add_task(mmc_tick); | 1178 | tick_add_task(mmc_tick); |
1178 | initialized = true; | 1179 | initialized = true; |
1179 | } | 1180 | } |