kernel: remove excess println() statements

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-08-30 10:46:48 +08:00
parent 9862977523
commit fbda077aff
2 changed files with 10 additions and 10 deletions

View file

@ -455,10 +455,10 @@ pub fn idle() -> bool {
// into a PID, and register the connection with the server. // into a PID, and register the connection with the server.
let new_pid = let new_pid =
crate::arch::process::register_connection_for_key(conn, access_key).unwrap(); crate::arch::process::register_connection_for_key(conn, access_key).unwrap();
println!( // println!(
"KERNEL: Access key {:?} mapped to PID {}", // "KERNEL: Access key {:?} mapped to PID {}",
access_key, new_pid // access_key, new_pid
); // );
// Inform the backchannel of the new process ID. // Inform the backchannel of the new process ID.
new_pid_sender new_pid_sender

View file

@ -1312,12 +1312,12 @@ impl SystemServices {
#[cfg(not(baremetal))] #[cfg(not(baremetal))]
let backing = MemoryRange::new(4096, 4096).unwrap(); let backing = MemoryRange::new(4096, 4096).unwrap();
println!( // println!(
"KERNEL({}): Found a free slot for server {:?} @ {} -- allocating an entry", // "KERNEL({}): Found a free slot for server {:?} @ {} -- allocating an entry",
pid.get(), // pid.get(),
sid, // sid,
_idx, // _idx,
); // );
// Initialize the server with the given memory page. // Initialize the server with the given memory page.
Server::init(entry, pid, sid, backing).map_err(|x| x)?; Server::init(entry, pid, sid, backing).map_err(|x| x)?;