Commit e4ae87e
committed
Add coroutine-based SMP support with WFI
This implements cooperative multitasking for multi-hart systems using
coroutines, enabling efficient SMP emulation with significant CPU usage
reduction.
- WFI instruction callback mechanism for power management
- CPU usage optimization: ~90% reduction in idle systems
- Maximum latency: 1ms (acceptable for typical 10ms timer interrupts)1 parent b50f948 commit e4ae87e
6 files changed
+794
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| |||
0 commit comments