summaryrefslogtreecommitdiffhomepage
path: root/Kernel/HALKit/POWER
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/HALKit/POWER')
-rw-r--r--Kernel/HALKit/POWER/Hart.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Kernel/HALKit/POWER/Hart.hxx b/Kernel/HALKit/POWER/Hart.hxx
index 4e4a281b..10066048 100644
--- a/Kernel/HALKit/POWER/Hart.hxx
+++ b/Kernel/HALKit/POWER/Hart.hxx
@@ -26,3 +26,9 @@ typedef struct HalHardwareThread
NewOS::UInt32 fPageFlags;
PPCHartType fIdentNumber;
} HalHardwareThread;
+
+/// @brief Set PC to specific hart.
+/// @param hart the hart
+/// @param epc the pc.
+/// @return
+EXTERN_C NewOS::Void hal_switch_to_hart(HalHardwareThread* hart, NewOS::VoidPtr epc); \ No newline at end of file