summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-27 12:05:27 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-27 12:05:27 +0100
commitd6bc3461106b9c8f0f29b4eea487ff59b0cc6206 (patch)
tree82630d94b81dac8504acb54a62c2d51975b7cc93 /Private/KernelKit
parentde4af9d8929da048ab714b75d2af23ccebe3f6cb (diff)
KernelKit: SMP: Fix SMPManager::Switch (IsBusy())
KernelKit: TLS: Refactor and add documentation to it. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/KernelKit')
-rw-r--r--Private/KernelKit/SMPManager.hpp2
-rw-r--r--Private/KernelKit/ThreadLocalStorage.hxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/Private/KernelKit/SMPManager.hpp b/Private/KernelKit/SMPManager.hpp
index 61e9ac3f..f4317cc3 100644
--- a/Private/KernelKit/SMPManager.hpp
+++ b/Private/KernelKit/SMPManager.hpp
@@ -91,7 +91,7 @@ namespace hCore
public:
bool Switch(HAL::StackFrame* the);
- HAL::StackFramePtr GetStack() noexcept;
+ HAL::StackFramePtr GetStackFrame() noexcept;
public:
Ref<ProcessorCore> operator[](const SizeT& idx);
diff --git a/Private/KernelKit/ThreadLocalStorage.hxx b/Private/KernelKit/ThreadLocalStorage.hxx
index 8b3f2c9b..afd0afb3 100644
--- a/Private/KernelKit/ThreadLocalStorage.hxx
+++ b/Private/KernelKit/ThreadLocalStorage.hxx
@@ -14,9 +14,9 @@
//! @brief TLS implementation in C++
-#define kRTLMag0 'h'
-#define kRTLMag1 'C'
-#define kRTLMag2 'o'
+#define kCookieMag0 'h'
+#define kCookieMag1 'C'
+#define kCookieMag2 'o'
template <typename T>
T* hcore_tls_new_ptr(void);