mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
kernel: remove excess debug output from hosted mode
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
b8d9d1e1b3
commit
5186594f17
2 changed files with 0 additions and 13 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue