Files
mop3/kernel/syscall/syscall.h
kamkow1 d1d772cb42
All checks were successful
Build documentation / build-and-deploy (push) Successful in 23s
Fix user apps randomly crashing (APIC, GDT layout, syscall entry)
2026-01-14 19:51:18 +01:00

13 lines
410 B
C

#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, void* regs, 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