mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-27 15:04:33 +00:00
16 lines
313 B
C++
16 lines
313 B
C++
#include <syscalls.hpp>
|
|
|
|
#include <debug.h>
|
|
|
|
extern "C" uint64_t SystemCallsHandler(SyscallsRegs *regs)
|
|
{
|
|
#if defined(__amd64__)
|
|
fixme("System call %lld", regs->rax);
|
|
#elif defined(__i386__)
|
|
fixme("System call %lld", regs->eax);
|
|
#elif defined(__aarch64__)
|
|
fixme("System call");
|
|
#endif
|
|
return 0;
|
|
}
|