summaryrefslogtreecommitdiffhomepage
path: root/Kernel/KernelKit/ProcessHeap.hxx
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-31 16:40:11 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-31 16:42:42 +0200
commit63dc1384bcbf8caf4ca53c715628db2c36b0b096 (patch)
tree2937e78fc2f0e729052660bdd1c74fdacf57d0ec /Kernel/KernelKit/ProcessHeap.hxx
parent59e0caa55e97f1a998904f404e5fedac3b2b0ec6 (diff)
[IMP] SEE BELOW.
- Support for shared libraries inside a process. - SMP improvements, add the PROCESS_CONTROL_BLOCK, to handle task switching. - Add MUST_PASS in HardwareTimer class. - Add rtl.internal.inl for SCM internal implementation. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/KernelKit/ProcessHeap.hxx')
-rw-r--r--Kernel/KernelKit/ProcessHeap.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Kernel/KernelKit/ProcessHeap.hxx b/Kernel/KernelKit/ProcessHeap.hxx
index 7772398e..377e6009 100644
--- a/Kernel/KernelKit/ProcessHeap.hxx
+++ b/Kernel/KernelKit/ProcessHeap.hxx
@@ -15,7 +15,7 @@
/// @version 5/11/23
/// @file ProcessHeap.hxx
-/// @brief Heap for user processes.
+/// @brief Process heap allocator.
#define kUserHeapMaxSz (4096)
#define kUserHeapMag (0xFAF0FEF0)
@@ -33,12 +33,12 @@ namespace Kernel
} kUserHeapFlags;
/// @brief Allocate a process heap, no zero out is done here.
- /// @param flags
+ /// @param flags the allocation flags.
/// @return The process's heap.
- VoidPtr rt_new_heap(Int32 flags);
+ VoidPtr sched_new_heap(Int32 flags);
/// @brief Frees the process heap.
/// @param pointer The process heap pointer.
- /// @return
- Int32 rt_free_heap(voidPtr pointer);
+ /// @return status code of the freeing.
+ Int32 sched_free_heap(voidPtr pointer);
} // namespace Kernel