From f3992c78790af42c53ed149cf04751261393d8e8 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 29 Feb 2024 16:32:49 +0100 Subject: Kernel: Pre-Release - Kernel - Bootloader Working on AHCI support, AHCI is very important to bring fast I/O support, ACPI and APIC is also in WiP for AMD64 HAL this time. Signed-off-by: Amlal El Mahrouss --- .../HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp (limited to 'Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp') diff --git a/Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp b/Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp deleted file mode 100644 index 7d0178fe..00000000 --- a/Private/HALKit/AMD64/HalCoreSyscallHandlerAMD64.cpp +++ /dev/null @@ -1,25 +0,0 @@ -/* - * ======================================================== - * - * HCore - * Copyright Mahrouss Logic, all rights reserved. - * - * ======================================================== - */ - -#include -#include -#include - -typedef HCore::Void (*rt_syscall_proc)(HCore::HAL::StackFramePtr); - -HCore::Array kSyscalls; - -/// @brief Interrupt system call handler. -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); - } -} -- cgit v1.2.3