1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Thom Johansen 2005-12-12 13:53:22 +00:00
parent 07a2ad2a22
commit 544b03cf9a
5 changed files with 53 additions and 17 deletions

View file

@ -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 */
@ -270,7 +268,6 @@ void switch_thread(void)
*/
#endif
}
#endif
#endif
current = current_thread;
store_context(&thread_contexts[current]);