mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 07:24:37 +00:00
KernelCTL stub syscall
This commit is contained in:
parent
aed2b927f3
commit
40c26f1232
@ -34,12 +34,20 @@ static uint64_t sys_free_pages(SyscallsFrame *Frame, uint64_t Address, uint64_t
|
||||
return 0;
|
||||
}
|
||||
|
||||
static uint64_t sys_kernelctl(SyscallsFrame *Frame, uint64_t Command, uint64_t Arg1, uint64_t Arg2, uint64_t Arg3, uint64_t Arg4)
|
||||
{
|
||||
fixme("KernelCTL: %lld", Command);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void *NativeSyscallsTable[] = {
|
||||
[_Exit] = (void *)sys_exit,
|
||||
[_Print] = (void *)sys_print,
|
||||
|
||||
[_RequestPages] = (void *)sys_request_pages,
|
||||
[_FreePages] = (void *)sys_free_pages,
|
||||
|
||||
[_KernelCTL] = (void *)sys_kernelctl,
|
||||
};
|
||||
|
||||
uint64_t HandleNativeSyscalls(SyscallsFrame *Frame)
|
||||
|
@ -10,6 +10,8 @@ enum NativeSyscalls
|
||||
|
||||
_RequestPages,
|
||||
_FreePages,
|
||||
|
||||
_KernelCTL,
|
||||
};
|
||||
|
||||
static inline long syscall0(long syscall)
|
||||
|
Loading…
x
Reference in New Issue
Block a user