Files
mop3/kernel/syscall/syscall.h
kamkow1 c8fb575bdd
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 2m7s
Build documentation / build-and-deploy (push) Successful in 39s
Change formatting rules
2026-04-24 01:54:48 +02:00

18 lines
557 B
C

#ifndef _KERNEL_SYSCALL_SYSCALL_H
#define _KERNEL_SYSCALL_SYSCALL_H
#include <libk/list.h>
#include <libk/std.h>
#include <proc/proc.h>
#include <proc/reschedule.h>
struct cpu;
typedef uintptr_t (*syscall_handler_func_t)(struct proc* proc, void* regs,
struct reschedule_ctx* rctx, 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