summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/ArchKit
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ZKA/ArchKit')
-rw-r--r--dev/ZKA/ArchKit/ArchKit.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/ZKA/ArchKit/ArchKit.hxx b/dev/ZKA/ArchKit/ArchKit.hxx
index 2c9a951e..97a4c17a 100644
--- a/dev/ZKA/ArchKit/ArchKit.hxx
+++ b/dev/ZKA/ArchKit/ArchKit.hxx
@@ -107,4 +107,5 @@ inline Kernel::Array<HAL_SYSCALL_RECORD,
kKerncalls;
EXTERN_C Kernel::HAL::StackFramePtr mp_get_current_context();
-EXTERN_C Kernel::Void mp_do_context_switch(Kernel::HAL::StackFramePtr stack_frame);
+/// @note The context gives out the return address in return register.
+EXTERN_C Kernel::UIntPtr mp_do_context_switch(Kernel::VoidPtr image, Kernel::UInt8* stack_ptr, Kernel::HAL::StackFramePtr stackPtr);