rockbox/firmware/asm/mips/thread.c
Solomon Peachy 6c6bdbf60e configure: Revamp MIPS architecture version+revision detection
This allows us to easily distinguish between mips32 and mips32r2

(Works at least as far back as gcc 4.9)

Change-Id: I2bcba194fd9cbeedf76cea739252271908bf73d0
2025-12-06 14:58:40 -05:00

6 lines
115 B
C

#if (CPU_MIPS == 32) || (CPU_MIPS == 32r2)
#include "thread-mips32.c"
#else
#error Missing thread impl
#endif