diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-31 00:13:51 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-31 00:13:51 +0200 |
| commit | 3bfb95803ba25a04ddb57ebbc0f25e4dec29d7e0 (patch) | |
| tree | 94fc17899142c1631797b9b6257b04359282741b /Kernel/KernelKit/MPManager.hpp | |
| parent | 659435af7da4ffb15a309063c892b518707fa9d0 (diff) | |
[IMP] Can now pass arguments to kernel via handover, new version 0x0113.
[IMP] Timeout functions for heap allocation.
[IMP] new mp_ and sched_ category of functions.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/KernelKit/MPManager.hpp')
| -rw-r--r-- | Kernel/KernelKit/MPManager.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Kernel/KernelKit/MPManager.hpp b/Kernel/KernelKit/MPManager.hpp index ccd1af37..c54f0aaf 100644 --- a/Kernel/KernelKit/MPManager.hpp +++ b/Kernel/KernelKit/MPManager.hpp @@ -17,6 +17,9 @@ namespace Kernel { + class HardwareThread; + class MPManager; + using ThreadID = UInt32; enum ThreadKind @@ -116,11 +119,11 @@ namespace Kernel /// @brief wakes up thread. /// wakes up thread from hang. - Void rt_wakeup_thread(HAL::StackFramePtr stack); + Void mp_wakeup_thread(HAL::StackFramePtr stack); /// @brief makes thread sleep. /// hooks and hangs thread to prevent code from executing. - Void rt_hang_thread(HAL::StackFramePtr stack); + Void mp_hang_thread(HAL::StackFramePtr stack); } // namespace Kernel #endif // !__INC_MP_MANAGER_HPP__ |
