diff options
Diffstat (limited to 'Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp')
| -rw-r--r-- | Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp b/Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp index ccd81b9a..314cba0e 100644 --- a/Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp +++ b/Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp @@ -1,7 +1,7 @@ /* * ======================================================== * - * hCore + * HCore * Copyright 2024 Mahrouss Logic, all rights reserved. * * ======================================================== @@ -11,13 +11,13 @@ #include <HALKit/AMD64/Processor.hpp> #include <KernelKit/PermissionSelector.hxx> -hCore::Array<void (*)(hCore::Int32 id, hCore::HAL::StackFrame *), kMaxSyscalls> +HCore::Array<void (*)(HCore::Int32 id, HCore::HAL::StackFrame *), kMaxSyscalls> kSyscalls; // IDT System Call Handler. // NOTE: don't trust the user. -extern "C" void rt_syscall_handle(hCore::HAL::StackFrame *stack) { - for (hCore::SizeT index = 0UL; index < kMaxSyscalls; ++index) { +extern "C" void rt_syscall_handle(HCore::HAL::StackFrame *stack) { + for (HCore::SizeT index = 0UL; index < kMaxSyscalls; ++index) { (kSyscalls[index].Leak().Leak())(stack->SID, stack); } } |
