mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
kernel: remove debugging prints for memory allocation
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
62216b7295
commit
956d5f0866
2 changed files with 9 additions and 9 deletions
|
|
@ -455,10 +455,10 @@ impl MemoryManager {
|
|||
if is_user {
|
||||
crate::arch::mem::hand_page_to_user(virt as _)?;
|
||||
}
|
||||
println!(
|
||||
"Mapped {:08x} -> {:08x} (user? {})",
|
||||
phys as usize, virt as usize, is_user
|
||||
);
|
||||
// println!(
|
||||
// "Mapped {:08x} -> {:08x} (user? {})",
|
||||
// phys as usize, virt as usize, is_user
|
||||
// );
|
||||
Ok(virt)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -664,11 +664,11 @@ pub fn handle_inner(pid: PID, tid: TID, in_irq: bool, call: SysCall) -> SysCallR
|
|||
// don't need to do this.
|
||||
if phys.is_some() {
|
||||
if mm.is_main_memory(phys_ptr) {
|
||||
println!(
|
||||
"Going to zero out {} bytes @ {:08x}",
|
||||
range.len(),
|
||||
range.as_ptr() as usize,
|
||||
);
|
||||
// println!(
|
||||
// "Going to zero out {} bytes @ {:08x}",
|
||||
// range.len(),
|
||||
// range.as_ptr() as usize,
|
||||
// );
|
||||
unsafe {
|
||||
range
|
||||
.as_mut_ptr()
|
||||
|
|
|
|||
Loading…
Reference in a new issue