Skip to content

Commit

Permalink
syscalls: modified syscall request structure to account for external …
Browse files Browse the repository at this point in the history
…handling
  • Loading branch information
jewelcodes committed Sep 11, 2024
1 parent b33ef17 commit 4872e10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/include/kernel/syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4872e10

Please sign in to comment.