Skip to content

Commit

Permalink
Add disabled debug output for some syscalls
Browse files Browse the repository at this point in the history
  • Loading branch information
vinc committed Nov 21, 2023
1 parent 5b7163c commit 3e5738e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sys/syscall/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use core::arch::asm;
use smoltcp::wire::IpAddress;

pub fn exit(code: ExitCode) -> ExitCode {
//debug!("syscall::exit(code={})", code as usize);
sys::process::exit();
code
}
Expand Down Expand Up @@ -89,6 +90,7 @@ pub fn close(handle: usize) {
}

pub fn spawn(path: &str, args_ptr: usize, args_len: usize) -> ExitCode {
//debug!("syscall::spawn(path={}, args_ptr={:#x}, args_len={})", path, args_ptr, args_len);
let path = match sys::fs::canonicalize(path) {
Ok(path) => path,
Err(_) => return ExitCode::OpenError,
Expand Down

0 comments on commit 3e5738e

Please sign in to comment.