summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/KernelKit/MP.hxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-31 15:08:15 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-31 15:08:15 +0200
commite2a90fce95fde6eaef50e6d99e32b902ec14cc0d (patch)
treea7cc8f17478f9e77019beab9e524d39fe311f775 /dev/ZKA/KernelKit/MP.hxx
parent2c4b02249ec4355a73b826909ab1889e45871faf (diff)
Source bump.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/KernelKit/MP.hxx')
-rw-r--r--dev/ZKA/KernelKit/MP.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev/ZKA/KernelKit/MP.hxx b/dev/ZKA/KernelKit/MP.hxx
index 03b8b6fa..6de796ea 100644
--- a/dev/ZKA/KernelKit/MP.hxx
+++ b/dev/ZKA/KernelKit/MP.hxx
@@ -59,17 +59,17 @@ namespace Kernel
void Busy(const bool busy = false) noexcept;
public:
- bool Switch(HAL::StackFrame* stack);
+ bool Switch(VoidPtr image, UInt8* stack_ptr, HAL::StackFramePtr frame);
bool IsWakeup() noexcept;
public:
- HAL::StackFrame* StackFrame() noexcept;
+ HAL::StackFramePtr StackFrame() noexcept;
const ThreadKind& Kind() noexcept;
bool IsBusy() noexcept;
const ThreadID& ID() noexcept;
private:
- HAL::StackFrame* fStack{nullptr};
+ HAL::StackFramePtr fStack{nullptr};
ThreadKind fKind{ThreadKind::kHartStandard};
ThreadID fID{0};
ProcessID fSourcePID{-1};
@@ -95,7 +95,6 @@ namespace Kernel
ZKA_COPY_DEFAULT(HardwareThreadScheduler);
public:
- bool Switch(HAL::StackFramePtr the);
HAL::StackFramePtr Leak() noexcept;
public: