From 91c88797f7fa9dbb6cce12c14928a6fbd97d51b6 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 25 Feb 2024 18:19:19 +0100 Subject: Kernel: Did progress on interrupts, moved kernel main to HAL, as the code here is very specific. Signed-off-by: Amlal El Mahrouss --- Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp') 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 #include -HCore::Array kSyscalls; +HCore::Array + 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); + } } -- cgit v1.2.3