mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
This is a bad idea because yield_slice() causes the active process to hand off to a new one (without an IRQ). However, the idea of most flash operations is we really want them atomic - we can't have something else decide to go and muck with flash while say, we are waiting for a page erase to complete. So, implement spin locking to block the CPU during phases where the hardware operation is non-interruptable. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||