From 13f5c9dc0ef2648cacdfc84c2881e716fd8c72c6 Mon Sep 17 00:00:00 2001 From: Julien CLEMENT Date: Wed, 4 Jan 2023 21:51:40 +0100 Subject: [PATCH] better logging Signed-off-by: Julien CLEMENT --- src/syscalls/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/syscalls/mod.rs b/src/syscalls/mod.rs index b6b5f11..b5dd281 100644 --- a/src/syscalls/mod.rs +++ b/src/syscalls/mod.rs @@ -23,9 +23,9 @@ pub struct SyscallContext { impl SyscallContext { pub async fn run(&mut self) { - println!("Running async syscall runner"); + println!("Running async syscall runner for {:?}", self.id); self.dispatch().await; - println!("Syscall end, unblocking thread"); + println!("Syscall {:?} end, unblocking thread", self.id); SCHEDULER.lock().await.unblock(self.thread_id); } @@ -43,7 +43,7 @@ async fn syscall_runner(context: SyscallContextT) { } pub fn syscall_routine(syscall_id: SyscallId) -> u64 { - println!("Running syscall"); + println!("Running syscall interrupt handler"); let context: SyscallContextT = Arc::new(RefCell::new(SyscallContext { id: syscall_id, res: 0,