mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-24 09:40:52 +00:00
see comments in code for more details, but, the Rust borrow checker found a problem where the virtual to physical map could be concurrently modified with additional entries during an allocation, so now the code works on an "look-before-you-leap" allocation basis (where it's assumed you either ensured sufficient space or allocated as you ran along previously), versus a "oops we need memory let's stop the world and redo everything while in the middle of anything" situation. The latter is obviously more convevient, but, alas, I have to agree with the borrow checker -- probably not the safest way to do things. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||