From b7f2a078b4284c3adc253f40bc54e733d27b6bd6 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 29 Feb 2024 09:05:36 +0100 Subject: HCoreKrnl: Start work on AHCI support. to add HCFS,EPM,GPT support to the kernel. Signed-off-by: Amlal El Mahrouss --- Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp') 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 #include -typedef HCore::Void (*rt_syscall_proc)(HCore::Int32 id, HCore::HAL::StackFramePtr); +typedef HCore::Void (*rt_syscall_proc)(HCore::HAL::StackFramePtr); HCore::Array 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); } } -- cgit v1.2.3