Files
mop3/kernel/syscall/syscall.h
kamkow1 5fe9d0a158
All checks were successful
Build documentation / build-and-deploy (push) Successful in 28s
Fix CPU load balancer bugs, scheduling points support for remote CPUs
2026-02-05 23:44:32 +01:00

17 lines
572 B
C

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