summaryrefslogtreecommitdiffhomepage
path: root/Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp')
-rw-r--r--Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp b/Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp
index 119fe1b5..b41b8285 100644
--- a/Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp
+++ b/Private/HALKit/AMD64/CoreSyscallHandlerAMD64.cpp
@@ -18,6 +18,6 @@ HCore::Array<void (*)(HCore::Int32 id, HCore::HAL::StackFrame *), kMaxSyscalls>
// NOTE: don't trust the user.
extern "C" void rt_syscall_handle(HCore::HAL::StackFrame *stack) {
for (HCore::SizeT index = 0UL; index < kMaxSyscalls; ++index) {
- (kSyscalls[index].Leak().Leak())(stack->SID, stack);
+ (kSyscalls[index].Leak().Leak())(stack->R15, stack);
}
}