summaryrefslogtreecommitdiffhomepage
path: root/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp')
-rw-r--r--Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp b/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp
index a0d1b13e..63a372e7 100644
--- a/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp
+++ b/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp
@@ -7,12 +7,14 @@
#include <ArchKit/ArchKit.hpp>
#include <HALKit/Alpha/Processor.hpp>
-NewOS::Array<void (*)(NewOS::Int32 id, NewOS::HAL::StackFrame *),
- kKernelMaxSystemCalls>
- kSyscalls;
+NewOS::Array<void (*)(NewOS::Int32 id, NewOS::HAL::StackFrame*),
+ kKernelMaxSystemCalls>
+ kSyscalls;
-extern "C" void rt_syscall_handle(NewOS::HAL::StackFrame *stack) {
- for (NewOS::SizeT index = 0UL; index < kKernelMaxSystemCalls; ++index) {
- (kSyscalls[index].Leak().Leak())(stack->ID, stack);
- }
+extern "C" void rt_syscall_handle(NewOS::HAL::StackFrame* stack)
+{
+ for (NewOS::SizeT index = 0UL; index < kKernelMaxSystemCalls; ++index)
+ {
+ (kSyscalls[index].Leak().Leak())(stack->ID, stack);
+ }
}