summaryrefslogtreecommitdiffhomepage
path: root/Private/HALKit/PowerPC/CoreSyscallHandlerPowerPC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Private/HALKit/PowerPC/CoreSyscallHandlerPowerPC.cpp')
-rw-r--r--Private/HALKit/PowerPC/CoreSyscallHandlerPowerPC.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/Private/HALKit/PowerPC/CoreSyscallHandlerPowerPC.cpp b/Private/HALKit/PowerPC/CoreSyscallHandlerPowerPC.cpp
index 6a723cba..ee300501 100644
--- a/Private/HALKit/PowerPC/CoreSyscallHandlerPowerPC.cpp
+++ b/Private/HALKit/PowerPC/CoreSyscallHandlerPowerPC.cpp
@@ -10,12 +10,11 @@
#include <ArchKit/Arch.hpp>
#include <NewKit/Array.hpp>
-hCore::Array<void (*)(hCore::Int32 id, hCore::HAL::StackFrame *), kMaxSyscalls> kSyscalls;
+hCore::Array<void (*)(hCore::Int32 id, hCore::HAL::StackFrame *), kMaxSyscalls>
+ 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 < kMaxSyscalls; ++index) {
+ (kSyscalls[index].Leak().Leak())(stack->ID, stack);
+ }
}