diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-23 19:49:20 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-23 19:49:20 +0100 |
| commit | 328487312fbbeb7a2cdf0b5508c74a43cdb5d499 (patch) | |
| tree | 8a19721812c07a42d46c47b67dfc306642bc2f1d /dev/kernel/HALKit/AXP/CoreSyscallHandlerDEC.cpp | |
| parent | 0711ecc7b775c861df179d8856af9be97944cba4 (diff) | |
kernel(platform): Remove AXP platform.
public(CF.fwrk): Add btb file to CF framework.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
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 f77186fd..00000000 --- a/dev/kernel/HALKit/AXP/CoreSyscallHandlerDEC.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* ------------------------------------------- - - Copyright (C) 2024-2025, Amlal EL Mahrouss, all rights reserved. - -------------------------------------------- */ - -#include <ArchKit/ArchKit.h> -#include <HALKit/AXP/Processor.h> - -/// @brief Internal call for syscall, to work with C++. -/// @param stack -/// @return nothing. -EXTERN_C void rt_syscall_handle(NeOS::HAL::StackFrame* stack) -{ - if (stack->Rcx <= (kSyscalls.Count() - 1)) - { - kout << "syscall: enter.\r"; - - if (kSyscalls[stack->Rcx].Leak().Leak().fHooked) - (kSyscalls[stack->Rcx].Leak().Leak().fProc)(stack); - - kout << "syscall: exit.\r"; - } -} |
