proc_quit () and proc_test () syscalls
All checks were successful
Build documentation / build-and-deploy (push) Successful in 43s

This commit is contained in:
2026-01-03 12:21:56 +01:00
parent 124a7f7215
commit cf04e3db18
13 changed files with 130 additions and 7 deletions

12
kernel/syscall/syscall.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef _KERNEL_SYSCALL_SYSCALL_H
#define _KERNEL_SYSCALL_SYSCALL_H
#include <libk/std.h>
#include <proc/proc.h>
typedef int (*syscall_handler_func_t) (struct proc* proc, uintptr_t a1, uintptr_t a2, uintptr_t a3,
uintptr_t a4, uintptr_t a5, uintptr_t a6);
syscall_handler_func_t syscall_find_handler (int syscall_num);
#endif // _KERNEL_SYSCALL_SYSCALL_H