mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
gate loader todo behind feature flag
This commit is contained in:
parent
903b2219db
commit
4bb7c87646
1 changed files with 1 additions and 0 deletions
|
|
@ -355,6 +355,7 @@ impl MiniElf {
|
||||||
|
|
||||||
// --- map FLASH pages to virtual memory ---
|
// --- map FLASH pages to virtual memory ---
|
||||||
// TODO: handle mapping of swap-located pages to virtual memory
|
// TODO: handle mapping of swap-located pages to virtual memory
|
||||||
|
#[cfg(feature = "swap")]
|
||||||
todo!("Handle swap-located pages mapping into virtual memory");
|
todo!("Handle swap-located pages mapping into virtual memory");
|
||||||
while pages_to_map > 0 {
|
while pages_to_map > 0 {
|
||||||
let map_phys_addr = (image_phys_base + section_map_phys_offset) & !(PAGE_SIZE - 1);
|
let map_phys_addr = (image_phys_base + section_map_phys_offset) & !(PAGE_SIZE - 1);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue