diff options
Diffstat (limited to 'sys/kern/kern_syscall.c')
-rw-r--r-- | sys/kern/kern_syscall.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/kern/kern_syscall.c b/sys/kern/kern_syscall.c index 2d3d6ea..292fa56 100644 --- a/sys/kern/kern_syscall.c +++ b/sys/kern/kern_syscall.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023-2024 Ian Marco Moffett and the Osmora Team. + * Copyright (c) 2023-2025 Ian Marco Moffett and the Osmora Team. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -29,9 +29,13 @@ #include <sys/syscall.h> #include <sys/sysctl.h> +#include <sys/reboot.h> #include <sys/types.h> +#include <sys/time.h> +#include <sys/mman.h> #include <sys/proc.h> #include <sys/vfs.h> +#include <sys/krq.h> scret_t(*g_sctab[])(struct syscall_args *) = { NULL, /* SYS_none */ @@ -41,6 +45,15 @@ scret_t(*g_sctab[])(struct syscall_args *) = { sys_close, /* SYS_close */ sys_stat, /* SYS_stat */ sys_sysctl, /* SYS_sysctl */ + sys_write, /* SYS_write */ + sys_spawn, /* SYS_spawn */ + sys_reboot, /* SYS_reboot */ + sys_mmap, /* SYS_mmap */ + sys_munmap, /* SYS_munap */ + sys_access, /* SYS_access */ + sys_lseek, /* SYS_lseek */ + sys_sleep, /* SYS_sleep */ + sys_inject, /* SYS_inject */ }; const size_t MAX_SYSCALLS = NELEM(g_sctab); |