diff options
Diffstat (limited to 'dev/Kernel/HALKit/AXP/CoreSyscallHandlerDEC.cpp')
| -rw-r--r-- | dev/Kernel/HALKit/AXP/CoreSyscallHandlerDEC.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/dev/Kernel/HALKit/AXP/CoreSyscallHandlerDEC.cpp b/dev/Kernel/HALKit/AXP/CoreSyscallHandlerDEC.cpp deleted file mode 100644 index 9d20a0f3..00000000 --- a/dev/Kernel/HALKit/AXP/CoreSyscallHandlerDEC.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies. - -------------------------------------------- */ - -#include <ArchKit/ArchKit.hxx> -#include <HALKit/AXP/Processor.hxx> - -/// @brief Internal call for syscall, to work with C++. -/// @param stack -/// @return nothing. -EXTERN_C void rt_syscall_handle(Kernel::HAL::StackFrame* stack) -{ - if (stack->Rcx <= (kSyscalls.Count() - 1)) - { - Kernel::kcout << "newoskrnl: syscall: enter.\r"; - - if (kSyscalls[stack->Rcx].Leak().Leak().fHooked) - (kSyscalls[stack->Rcx].Leak().Leak().fProc)(stack); - - Kernel::kcout << "newoskrnl: syscall: exit.\r"; - } -} |
