summaryrefslogtreecommitdiff
path: root/firmware/thread.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2005-12-12 13:53:22 +0000
committerThom Johansen <thomj@rockbox.org>2005-12-12 13:53:22 +0000
commit544b03cf9abafc080e10a91f65046eda540ff5ae (patch)
tree1fabed08230448393c5cab1f20f1a845f3ab883d /firmware/thread.c
parent07a2ad2a2246c649ec86c2adb077ec9ed3cfef11 (diff)
downloadrockbox-544b03cf9abafc080e10a91f65046eda540ff5ae.zip
rockbox-544b03cf9abafc080e10a91f65046eda540ff5ae.tar.gz
rockbox-544b03cf9abafc080e10a91f65046eda540ff5ae.tar.bz2
rockbox-544b03cf9abafc080e10a91f65046eda540ff5ae.tar.xz
Add interrupt handler for iPod. Add timer tick support. Remove temporary thread sleep solution. Remove temporary iPod current_tick solution.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8224 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/thread.c')
-rw-r--r--firmware/thread.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/thread.c b/firmware/thread.c
index 7ed8dbd..13577e8 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -251,8 +251,6 @@ void switch_thread(void)
#ifdef SIMULATOR
/* Do nothing */
#else
-/* We currently have no interrupts on iPod targets, so remove this temp. */
-#if CONFIG_CPU != PP5020
while (num_sleepers == num_threads)
{
/* Enter sleep mode, woken up on interrupt */
@@ -271,7 +269,6 @@ void switch_thread(void)
#endif
}
#endif
-#endif
current = current_thread;
store_context(&thread_contexts[current]);