summaryrefslogtreecommitdiffhomepage
path: root/Kernel/KernelKit/SMPManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/KernelKit/SMPManager.hpp')
-rw-r--r--Kernel/KernelKit/SMPManager.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Kernel/KernelKit/SMPManager.hpp b/Kernel/KernelKit/SMPManager.hpp
index 985050f1..1840dd20 100644
--- a/Kernel/KernelKit/SMPManager.hpp
+++ b/Kernel/KernelKit/SMPManager.hpp
@@ -94,13 +94,13 @@ namespace NewOS
NEWOS_COPY_DEFAULT(SMPManager);
public:
- bool Switch(HAL::StackFrame* the);
- HAL::StackFramePtr GetStackFrame() noexcept;
+ bool Switch(HAL::StackFramePtr the);
+ HAL::StackFramePtr Leak() noexcept;
public:
- Ref<HardwareThread> operator[](const SizeT& idx);
- bool operator!() noexcept;
- operator bool() noexcept;
+ Ref<HardwareThread*> operator[](const SizeT& idx);
+ bool operator!() noexcept;
+ operator bool() noexcept;
public:
/// @brief Shared instance of the SMP Manager.