diff options
Diffstat (limited to 'Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp')
| -rw-r--r-- | Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp b/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp index 5d1c6d2b..51b1fa0d 100644 --- a/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp +++ b/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp @@ -10,12 +10,12 @@ #include <ArchKit/ArchKit.hpp> #include <HALKit/Alpha/Processor.hpp> -HCore::Array<void (*)(HCore::Int32 id, HCore::HAL::StackFrame *), kMaxSyscalls> kSyscalls; +HCore::Array<void (*)(HCore::Int32 id, HCore::HAL::StackFrame *), + kKernelMaxSystemCalls> + kSyscalls; -extern "C" void rt_syscall_handle(HCore::HAL::StackFrame *stack) -{ - for (HCore::SizeT index = 0UL; index < kMaxSyscalls; ++index) - { - (kSyscalls[index].Leak().Leak())(stack->ID, stack); - } +extern "C" void rt_syscall_handle(HCore::HAL::StackFrame *stack) { + for (HCore::SizeT index = 0UL; index < kKernelMaxSystemCalls; ++index) { + (kSyscalls[index].Leak().Leak())(stack->ID, stack); + } } |
