summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/KernelKit/MemoryMgr.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 19:57:33 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 19:57:33 +0100
commitba7b3ed69cd24970a28b72c54982735cd120e663 (patch)
tree934b7645435ab1bfd2d8eb99fa861fc09e3dd5b4 /dev/kernel/KernelKit/MemoryMgr.h
parent2205e801a6e84238dc8cbbb8f9de5a675eae1d81 (diff)
kernel: breaking: Change namespace from NeOS to Kernel.
sched: Fix redundancy in NeKernel's user scheduler macros, refactored the other files using the redundant macros too. part one of a series of commit for NeKernel. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/KernelKit/MemoryMgr.h')
-rw-r--r--dev/kernel/KernelKit/MemoryMgr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/kernel/KernelKit/MemoryMgr.h b/dev/kernel/KernelKit/MemoryMgr.h
index e2b8aa2f..229b6aa6 100644
--- a/dev/kernel/KernelKit/MemoryMgr.h
+++ b/dev/kernel/KernelKit/MemoryMgr.h
@@ -9,13 +9,13 @@
/// @date 30/01/24
/// @file: MemoryMgr.h
-/// @brief: heap allocation support.
+/// @brief: Memory allocation support for the NeKernel.
#include <NewKit/KernelPanic.h>
#include <KernelKit/KPC.h>
#include <hint/CompilerHint.h>
-namespace NeOS
+namespace Kernel
{
/// @brief Declare pointer as free.
/// @param heap_ptr the pointer.
@@ -66,7 +66,7 @@ namespace NeOS
{
if (*cls)
{
- err_global_get() = NeOS::kErrorInvalidData;
+ err_global_get() = Kernel::kErrorInvalidData;
return NO;
}
@@ -82,6 +82,6 @@ namespace NeOS
delete *cls;
*cls = nullptr;
}
-} // namespace NeOS
+} // namespace Kernel
#endif // !INC_KERNEL_HEAP_H