mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +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 {
|
||||
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
|
||||
*entry = (*entry & !(MMUFlags::W.bits())) | (previous_flag | MMUFlags::S).bits();
|
||||
println!(
|
||||
"Additionally, mapping {:08x} into PID {:08x} @ {:08x}",
|
||||
print!(
|
||||
" [additionally, mapping {:08x} into PID {:08x} @ {:08x}]",
|
||||
phys, dest_pid, dest_addr as usize
|
||||
);
|
||||
unsafe { flush_mmu() };
|
||||
|
|
|
|||
Loading…
Reference in a new issue