mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
make debug a little more compact for the renode swap target
This commit is contained in:
parent
327205edb5
commit
8824372101
1 changed files with 6 additions and 0 deletions
|
|
@ -310,6 +310,12 @@ impl MemoryMapping {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
let _superpage_addr = i as u32 * (1 << 22);
|
let _superpage_addr = i as u32 * (1 << 22);
|
||||||
|
#[cfg(all(feature = "swap", feature = "renode"))]
|
||||||
|
// skip printing the mem-mapped swap for renode targets in swap debug, makes the PT dumps a lot
|
||||||
|
// more compact
|
||||||
|
if _superpage_addr & 0xF000_0000 == 0xA000_0000 {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
println!(
|
println!(
|
||||||
" {:4} Superpage for {:08x} @ {:08x} (flags: {:?})",
|
" {:4} Superpage for {:08x} @ {:08x} (flags: {:?})",
|
||||||
i,
|
i,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue