summaryrefslogtreecommitdiff
path: root/firmware/target/mips/thread-mips32.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/thread-mips32.c')
-rw-r--r--firmware/target/mips/thread-mips32.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/mips/thread-mips32.c b/firmware/target/mips/thread-mips32.c
index e2fccb8022..2b34d3ce3d 100644
--- a/firmware/target/mips/thread-mips32.c
+++ b/firmware/target/mips/thread-mips32.c
@@ -21,13 +21,15 @@
21 * 21 *
22 ****************************************************************************/ 22 ****************************************************************************/
23 23
24#include "gcc_extensions.h"
25
24/*--------------------------------------------------------------------------- 26/*---------------------------------------------------------------------------
25 * Start the thread running and terminate it if it returns 27 * Start the thread running and terminate it if it returns
26 *--------------------------------------------------------------------------- 28 *---------------------------------------------------------------------------
27 */ 29 */
28 30
29void start_thread(void); /* Provide C access to ASM label */ 31void start_thread(void); /* Provide C access to ASM label */
30static void __attribute__((used)) _start_thread(void) 32static void USED_ATTR _start_thread(void)
31{ 33{
32 /* t1 = context */ 34 /* t1 = context */
33 asm volatile ( 35 asm volatile (