diff options
| author | Amlal EL Mahrouss <amlal@softwarelabs.com> | 2024-06-16 00:25:47 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlal@softwarelabs.com> | 2024-06-16 00:25:47 +0200 |
| commit | 84aea90cff9952dbafcf147b7741c1985622a8d2 (patch) | |
| tree | 9912202bf155bf28b1428f6805ea1e538e68c23a /Kernel/HALKit | |
| parent | f05b598a1c1a8ca4f1bf0acca078f9c9e3c07991 (diff) | |
MHR-31: Add cHartIpi enum, improve ReadMe and fix FilesystemWizard.
Signed-off-by: Amlal EL Mahrouss <amlal@softwarelabs.com>
Diffstat (limited to 'Kernel/HALKit')
| -rw-r--r-- | Kernel/HALKit/ARM64/Hart.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Kernel/HALKit/ARM64/Hart.hxx b/Kernel/HALKit/ARM64/Hart.hxx index bc35c3f5..1b16a072 100644 --- a/Kernel/HALKit/ARM64/Hart.hxx +++ b/Kernel/HALKit/ARM64/Hart.hxx @@ -17,4 +17,12 @@ typedef NewOS::Int32 Arm64HartType; /// @param hart the hart
/// @param epc the pc.
/// @return
-EXTERN_C NewOS::Void hal_switch_to_hart(Arm64HartType hart, NewOS::VoidPtr epc);
\ No newline at end of file +EXTERN_C NewOS::Void hal_switch_to_hart(Arm64HartType hart, NewOS::VoidPtr epc);
+
+/// @brief Hart IPI enum
+enum {
+ cHartIpiTurnOn,
+ cHartIpiTurnOff,
+ cHartIpiStop,
+ cHartIpiResume,
+};
|
