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.
let new_pid =
crate::arch::process::register_connection_for_key(conn, access_key).unwrap();
println!(
"KERNEL: Access key {:?} mapped to PID {}",
access_key, new_pid
);
// println!(
// "KERNEL: Access key {:?} mapped to PID {}",
// access_key, new_pid
// );
// Inform the backchannel of the new process ID.
new_pid_sender

View file

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