summaryrefslogtreecommitdiff
path: root/firmware/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/thread.c')
-rw-r--r--firmware/thread.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/thread.c b/firmware/thread.c
index d59c05e1fc..d79c53834e 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -188,8 +188,11 @@ void switch_thread(void)
188#if CONFIG_CPU == MCF5249 188#if CONFIG_CPU == MCF5249
189 asm volatile ("stop #0x2000"); 189 asm volatile ("stop #0x2000");
190#elif CONFIG_CPU == TCC730 190#elif CONFIG_CPU == TCC730
191 /* No sleep instr on the CalmRisc. (?) 191 /* Sleep mode is triggered by the SYS instr on CalmRisc16.
192 * TODO: investigate the SYS instruction 192 * Unfortunately, the manual doesn't specify which arg to use.
193 __asm__ volatile ("sys #0x0f");
194 0x1f seems to trigger a reset;
195 0x0f is the only one other argument used by Archos.
193 */ 196 */
194#else 197#else
195 SBYCR &= 0x7F; 198 SBYCR &= 0x7F;