summaryrefslogtreecommitdiffhomepage
path: root/Kernel/KernelKit
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/KernelKit')
-rw-r--r--Kernel/KernelKit/Heap.hxx4
-rw-r--r--Kernel/KernelKit/MP.hxx16
2 files changed, 10 insertions, 10 deletions
diff --git a/Kernel/KernelKit/Heap.hxx b/Kernel/KernelKit/Heap.hxx
index ee176f3b..c24cf1df 100644
--- a/Kernel/KernelKit/Heap.hxx
+++ b/Kernel/KernelKit/Heap.hxx
@@ -28,13 +28,13 @@ namespace Kernel
/// @brief Check if pointer is a valid kernel pointer.
/// @param allocatedPtr the pointer
/// @return if it exists.
- Boolean ke_is_valid_heap(VoidPtr allocatedPtr);
+ Boolean mm_is_valid_heap(VoidPtr allocatedPtr);
/// @brief allocate chunk of memory.
/// @param sz size of pointer
/// @param rw read write (true to enable it)
/// @param user is it accesible by user processes?
- /// @return the pointer
+ /// @return The newly allocated pointer.
voidPtr mm_new_ke_heap(const SizeT sz, const Bool rw, const Bool user);
/// @brief Protect the heap with a CRC value.
diff --git a/Kernel/KernelKit/MP.hxx b/Kernel/KernelKit/MP.hxx
index df34bed8..f7c3888a 100644
--- a/Kernel/KernelKit/MP.hxx
+++ b/Kernel/KernelKit/MP.hxx
@@ -19,7 +19,7 @@
namespace Kernel
{
class HardwareThread;
- class MPCoreScheduler;
+ class HardwareThreadScheduler;
using ThreadID = UInt32;
@@ -77,22 +77,22 @@ namespace Kernel
bool fBusy{false};
private:
- friend class MPCoreScheduler;
+ friend class HardwareThreadScheduler;
};
///
- /// \name MPCoreScheduler
+ /// \name HardwareThreadScheduler
/// \brief Class to manage the thread scheduling.
///
- class MPCoreScheduler final
+ class HardwareThreadScheduler final
{
private:
- explicit MPCoreScheduler();
+ explicit HardwareThreadScheduler();
public:
- ~MPCoreScheduler();
- NEWOS_COPY_DEFAULT(MPCoreScheduler);
+ ~HardwareThreadScheduler();
+ NEWOS_COPY_DEFAULT(HardwareThreadScheduler);
public:
bool Switch(HAL::StackFramePtr the);
@@ -106,7 +106,7 @@ namespace Kernel
public:
/// @brief Shared instance of the MP Manager.
/// @return the reference to the mp manager class.
- static Ref<MPCoreScheduler> The();
+ static Ref<HardwareThreadScheduler> The();
public:
/// @brief Returns the amount of threads present in the system.