summaryrefslogtreecommitdiff
path: root/firmware/asm/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/asm/thread.c')
-rw-r--r--firmware/asm/thread.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/firmware/asm/thread.c b/firmware/asm/thread.c
new file mode 100644
index 0000000000..49e71d73af
--- /dev/null
+++ b/firmware/asm/thread.c
@@ -0,0 +1,21 @@
1#if defined(CPU_ARM)
2 #include "arm/thread.c"
3#elif defined(CPU_COLDFIRE)
4 #include "m68k/thread.c"
5#elif CONFIG_CPU == SH7034
6 #include "sh/thread.c"
7#elif defined(CPU_MIPS)
8 #include "mips/thread.c"
9#else
10
11/* generic thread.c */
12
13#if defined(HAVE_WIN32_FIBER_THREADS)
14 #include "thread-win32.c"
15#elif defined(HAVE_SIGALTSTACK_THREADS)
16 #include "thread-unix.c"
17#else
18 #error Missing thread impl
19#endif
20
21#endif