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/PowerPC/HalCoreSyscallHandlerPowerPC.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp') diff --git a/Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp b/Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp index c1672e68..71554dc4 100644 --- a/Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp +++ b/Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp @@ -10,11 +10,12 @@ #include #include -HCore::Array +HCore::Array kSyscalls; extern "C" void rt_syscall_handle(HCore::HAL::StackFrame *stack) { - for (HCore::SizeT index = 0UL; index < kMaxSyscalls; ++index) { + for (HCore::SizeT index = 0UL; index < kKernelMaxSystemCalls; ++index) { (kSyscalls[index].Leak().Leak())(stack->ID, stack); } } -- cgit v1.2.3