mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
kernel: mem: match riscv printf with rest of formatting
We don't use `println` anymore, we use `print`. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
aee42bf264
commit
7156ab5e79
1 changed files with 3 additions and 3 deletions
|
|
@ -507,12 +507,12 @@ pub fn lend_page_inner(
|
||||||
} else {
|
} else {
|
||||||
MMUFlags::NONE
|
MMUFlags::NONE
|
||||||
};
|
};
|
||||||
println!("Clearing `W` bit from mapping of page {:08x}", phys);
|
print!(" [clearing `W` bit from mapping of page {:08x}]", phys);
|
||||||
|
|
||||||
// If the current entry is writable, clear that bit and set the "P" flag
|
// If the current entry is writable, clear that bit and set the "P" flag
|
||||||
*entry = (*entry & !(MMUFlags::W.bits())) | (previous_flag | MMUFlags::S).bits();
|
*entry = (*entry & !(MMUFlags::W.bits())) | (previous_flag | MMUFlags::S).bits();
|
||||||
println!(
|
print!(
|
||||||
"Additionally, mapping {:08x} into PID {:08x} @ {:08x}",
|
" [additionally, mapping {:08x} into PID {:08x} @ {:08x}]",
|
||||||
phys, dest_pid, dest_addr as usize
|
phys, dest_pid, dest_addr as usize
|
||||||
);
|
);
|
||||||
unsafe { flush_mmu() };
|
unsafe { flush_mmu() };
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue