summaryrefslogtreecommitdiff
path: root/firmware/asm/sh
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/asm/sh')
-rw-r--r--firmware/asm/sh/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/asm/sh/thread.c b/firmware/asm/sh/thread.c
index e63470c4a1..c0e0ceb549 100644
--- a/firmware/asm/sh/thread.c
+++ b/firmware/asm/sh/thread.c
@@ -30,6 +30,7 @@ static void USED_ATTR __start_thread(void)
30{ 30{
31 /* r8 = context */ 31 /* r8 = context */
32 asm volatile ( 32 asm volatile (
33 ".global _start_thread \n"
33 "_start_thread: \n" /* Start here - no naked attribute */ 34 "_start_thread: \n" /* Start here - no naked attribute */
34 "mov.l @(4, r8), r0 \n" /* Fetch thread function pointer */ 35 "mov.l @(4, r8), r0 \n" /* Fetch thread function pointer */
35 "mov.l @(28, r8), r15 \n" /* Set initial sp */ 36 "mov.l @(28, r8), r15 \n" /* Set initial sp */