Skip to content

Commit

Permalink
syscalls: tweaks for more ipc performance
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 5, 2024
1 parent 668990b commit dd864a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/include/kernel/syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

#define MAX_SYSCALL 56

/* IPC syscall indexes, these will be used for immediate handling without
* waiting for the queue */
#define SYSCALL_IPC_START 45 // recv()
/* IPC syscall indexes, this range will be used for immediate handling without
* waiting for the kernel thread to dispatch the syscall */
#define SYSCALL_IPC_START 42 // bind()
#define SYSCALL_IPC_END 46 // send()

#define SYSCALL_RW_START 16 // read()
Expand Down

0 comments on commit dd864a3

Please sign in to comment.