kernel: remove excess debug output from hosted mode

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-11-11 16:22:29 +08:00
parent b8d9d1e1b3
commit 5186594f17
2 changed files with 0 additions and 13 deletions

View file

@ -583,8 +583,6 @@ pub fn idle() -> bool {
crate::syscall::handle(pid, thread_id, false, SysCall::TerminateProcess).ok();
});
crate::arch::process::set_current_pid(existing_pid);
// SystemServices::with_mut(|ss| {
// ss.switch_from(pid, 1, true)}).unwrap();
}
if is_shutdown {

View file

@ -299,21 +299,10 @@ impl Process {
if result.memory().is_some() {
panic!("Result has memory and we're also returning memory!");
}
// if let xous_kernel::Result::Message(_) = result {
// } else {
// panic!(
// "memory was waiting to be returned, but message was not a result message"
// );
// }
print!(" [adding {} additional bytes from memory being returned]", buf.len());
response.extend_from_slice(&buf);
}
// eprintln!(
// "KERNEL({}): Setting thread return value to {:?}",
// current_pid_idx + 1,
// response
// );
print!(" [setting thread return value to {} bytes]", response.len());
process
.conn