summaryrefslogtreecommitdiff
path: root/sys/kern/kern_syscall.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-26 18:26:16 -0400
committerIan Moffett <ian@osmora.org>2024-03-26 18:26:16 -0400
commit54224fb3d937811de957d51596602c0f2afc5fbe (patch)
treef8f3b28a74dacd2bbbbc61f20afa52c455905b56 /sys/kern/kern_syscall.c
parent42ad59bdb6df99ccd146d6d67cb8c838be709ec5 (diff)
kernel: Add initial read() implementation
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/kern_syscall.c')
-rw-r--r--sys/kern/kern_syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_syscall.c b/sys/kern/kern_syscall.c
index 4acfdc5..0f45469 100644
--- a/sys/kern/kern_syscall.c
+++ b/sys/kern/kern_syscall.c
@@ -45,4 +45,5 @@ uint64_t(*g_syscall_table[__MAX_SYSCALLS])(struct syscall_args *args) = {
sys_write,
sys_open,
sys_close,
+ sys_read,
};