Similar to #510 but for all other platforms. The idle_thread runs without a stack and so cannot handle the stack prologue. This should hopefully make the kernel rely less on FORCE_INLINE for this as well. We create idle.S assembly files for each platform, as GCC does not support `__attribute__((naked))` on AArch64 (GCC 13.2.0) and bails out. Signed-off-by: julia <git.ts@trainwit.ch> |
||
|---|---|---|
| .. | ||
| arm | ||
| riscv/arch | ||
| x86/arch | ||