summaryrefslogtreecommitdiff
path: root/firmware/asm/thread.c
blob: d6b881bdc557fc9e0b16780bd652e54cc029265e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  /* First some generic implementations */
#if defined(HAVE_WIN32_FIBER_THREADS)
  #include "thread-win32.c"
#elif defined(HAVE_SIGALTSTACK_THREADS)
  #include "thread-unix.c"

  /* Now the CPU-specific implementations */
#elif defined(CPU_ARM)
  #include "arm/thread.c"
#elif defined(CPU_COLDFIRE)
  #include "m68k/thread.c"
#elif CONFIG_CPU == SH7034
  #include "sh/thread.c"
#elif defined(CPU_MIPS)
  #include "mips/thread.c"
#else
  /* Nothing? OK, give up */
  #error Missing thread impl
#endif