freemyipod r543 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r542‎ | r543 | r544 >
Date:21:36, 6 February 2011
Author:theseven
Status:new
Tags:
Comment:
emCORE: The storage monitors are OS threads.
Modified paths:
  • /emcore/trunk/target/ipodclassic/storage_ata.c (modified) (history)
  • /emcore/trunk/target/ipodnano2g/nand.c (modified) (history)

Diff [purge]

Index: emcore/trunk/target/ipodnano2g/nand.c
@@ -797,7 +797,7 @@
798798
799799 nand_last_activity_value = USEC_TIMER;
800800 thread_create(&nand_thread_handle, "NAND idle monitor", nand_thread, nand_stack,
801 - sizeof(nand_stack), USER_THREAD, 1, true);
 801+ sizeof(nand_stack), OS_THREAD, 1, true);
802802
803803 return 0;
804804 }
Index: emcore/trunk/target/ipodclassic/storage_ata.c
@@ -561,7 +561,7 @@
562562 mutex_unlock(&ata_mutex);
563563 #endif
564564 thread_create(&ata_thread_handle, "ATA idle monitor", ata_thread, ata_stack,
565 - sizeof(ata_stack), USER_THREAD, 1, true);
 565+ sizeof(ata_stack), OS_THREAD, 1, true);
566566 return 0;
567567 }
568568