mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-16 09:41:42 +00:00
Added syscalls stub
This commit is contained in:
15
Core/SystemCalls.cpp
Normal file
15
Core/SystemCalls.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <syscalls.hpp>
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
extern "C" uint64_t SystemCallsHandler(SyscallsRegs *regs)
|
||||
{
|
||||
#if defined(__amd64__)
|
||||
fixme("System call %ld", regs->rax);
|
||||
#elif defined(__i386__)
|
||||
fixme("System call %ld", regs->eax);
|
||||
#elif defined(__aarch64__)
|
||||
fixme("System call");
|
||||
#endif
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user