Moved syscalls file

This commit is contained in:
Alex
2022-10-20 05:15:20 +03:00
parent 5d17c5a411
commit 42e35e7d83

15
SystemCalls/Syscalls.cpp Normal file
View File

@ -0,0 +1,15 @@
#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;
}