diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-29 09:05:36 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-29 09:05:36 +0100 |
| commit | b7f2a078b4284c3adc253f40bc54e733d27b6bd6 (patch) | |
| tree | 9eb5c6c0501278bcf1615ba59e7bb25a63bd4f1b /Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp | |
| parent | 375fa68692447f6806264fc0339d26b691e2a1bb (diff) | |
HCoreKrnl: Start work on AHCI support. to add HCFS,EPM,GPT support to
the kernel.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp')
| -rw-r--r-- | Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp b/Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp index 24eee910..7d0178fe 100644 --- a/Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp +++ b/Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp @@ -11,7 +11,7 @@ #include <HALKit/AMD64/Processor.hpp> #include <KernelKit/PermissionSelector.hxx> -typedef HCore::Void (*rt_syscall_proc)(HCore::Int32 id, HCore::HAL::StackFramePtr); +typedef HCore::Void (*rt_syscall_proc)(HCore::HAL::StackFramePtr); HCore::Array<rt_syscall_proc, kKernelMaxSystemCalls> kSyscalls; @@ -20,6 +20,6 @@ EXTERN_C void rt_syscall_handle(HCore::HAL::StackFramePtr stack) { if (!stack) return; if (stack->Rcx < kKernelMaxSystemCalls && kSyscalls[stack->Rcx] != 0) { - (kSyscalls[stack->Rcx].Leak().Leak())(stack->Rcx, stack); + (kSyscalls[stack->Rcx].Leak().Leak())(stack); } } |
