mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
output hex for kernel debug
makes it much easier to read memory allocation requests
This commit is contained in:
parent
a2ede7adf6
commit
154384e3bb
1 changed files with 2 additions and 2 deletions
|
|
@ -435,10 +435,10 @@ fn receive_message(pid: PID, tid: TID, sid: SID) -> SysCallResult {
|
|||
|
||||
pub fn handle(pid: PID, tid: TID, call: SysCall) -> SysCallResult {
|
||||
#[cfg(feature = "debug-print")]
|
||||
print!("KERNEL({}:{}): Syscall {:?}", pid, tid, call);
|
||||
print!("KERNEL({}:{}): Syscall {:x?}", pid, tid, call);
|
||||
let result = handle_inner(pid, tid, call);
|
||||
#[cfg(feature = "debug-print")]
|
||||
println!(" -> {:?}", result);
|
||||
println!(" -> {:x?}", result);
|
||||
result
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue