summaryrefslogtreecommitdiffhomepage
path: root/Kernel/HALKit
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/HALKit')
-rw-r--r--Kernel/HALKit/POWER/Hart.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Kernel/HALKit/POWER/Hart.hxx b/Kernel/HALKit/POWER/Hart.hxx
index a6000953..4839260c 100644
--- a/Kernel/HALKit/POWER/Hart.hxx
+++ b/Kernel/HALKit/POWER/Hart.hxx
@@ -15,20 +15,22 @@
#include <NewKit/Defines.hxx>
+struct HAL_HARDWARE_THREAD;
+
/// @brief hardware thread indentification type.
typedef Kernel::Int32 PPCHartType;
/// @brief Hardware thread information structure.
-typedef struct HalHardwareThread
+typedef struct HAL_HARDWARE_THREAD
{
Kernel::UIntPtr fStartAddress;
Kernel::UInt8 fPrivleged : 1;
Kernel::UInt32 fPageFlags;
PPCHartType fIdentNumber;
-} HalHardwareThread;
+} HAL_HARDWARE_THREAD;
/// @brief Set PC to specific hart.
/// @param hart the hart
/// @param epc the pc.
/// @return
-EXTERN_C Kernel::Void hal_set_pc_to_hart(HalHardwareThread* hart, Kernel::VoidPtr epc);
+EXTERN_C Kernel::Void hal_set_pc_to_hart(HAL_HARDWARE_THREAD* hart, Kernel::VoidPtr epc);