From 4872e1004b06ffb5b96ee1382ae65d89b1368a13 Mon Sep 17 00:00:00 2001 From: jewelcodes Date: Wed, 11 Sep 2024 14:26:04 -0400 Subject: [PATCH] syscalls: modified syscall request structure to account for external handling --- src/include/kernel/syscalls.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/kernel/syscalls.h b/src/include/kernel/syscalls.h index 82477dc..a7081fa 100644 --- a/src/include/kernel/syscalls.h +++ b/src/include/kernel/syscalls.h @@ -15,7 +15,9 @@ typedef struct SyscallRequest { bool busy, queued, unblock; + bool external; // set for syscalls that are handled in user space + uint64_t requestID; // unique random ID for user space syscalls uint64_t function; uint64_t params[4]; uint64_t ret; // return value from the kernel to the program