mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
kernel: mem: remove unused debugging prints
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
db8e814cb7
commit
8c599a3080
1 changed files with 0 additions and 3 deletions
|
|
@ -290,7 +290,6 @@ impl MemoryManager {
|
|||
|
||||
// Look for a sequence of `size` pages that are free.
|
||||
for potential_start in (initial..end - size).step_by(PAGE_SIZE) {
|
||||
// println!(" Checking {:08x}...", potential_start);
|
||||
let mut all_free = true;
|
||||
for check_page in (potential_start..potential_start + size).step_by(PAGE_SIZE) {
|
||||
if !crate::arch::mem::address_available(check_page) {
|
||||
|
|
@ -313,7 +312,6 @@ impl MemoryManager {
|
|||
}
|
||||
|
||||
for potential_start in (start..initial).step_by(PAGE_SIZE) {
|
||||
// println!(" Checking {:08x}...", potential_start);
|
||||
let mut all_free = true;
|
||||
for check_page in (potential_start..potential_start + size).step_by(PAGE_SIZE) {
|
||||
if !crate::arch::mem::address_available(check_page) {
|
||||
|
|
@ -334,7 +332,6 @@ impl MemoryManager {
|
|||
return Ok(potential_start as *mut u8);
|
||||
}
|
||||
}
|
||||
// println!("Couldn't find virtual address");
|
||||
Err(xous_kernel::Error::BadAddress)
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue