diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-20 14:47:08 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-20 14:47:08 +0100 |
| commit | 4ba02280f19b8a2beb1ad8445be7df6b7f9e1805 (patch) | |
| tree | 4928e93b6463dcce6e0d74120882a6ec572bae5c /Private/KernelKit/KernelHeap.hpp | |
| parent | 055a896406af227e03708fa20a728259cace704a (diff) | |
kernel: Reworking kernel to support virtual memory.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/KernelKit/KernelHeap.hpp')
| -rw-r--r-- | Private/KernelKit/KernelHeap.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Private/KernelKit/KernelHeap.hpp b/Private/KernelKit/KernelHeap.hpp new file mode 100644 index 00000000..974cf0f3 --- /dev/null +++ b/Private/KernelKit/KernelHeap.hpp @@ -0,0 +1,19 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#pragma once + +// last-rev 30/01/24 +// file: KernelHeap.hpp +// description: heap allocation for the kernel. + +#include <NewKit/Defines.hpp> + +namespace HCore { +Int32 ke_delete_ke_heap(voidPtr allocatedPtr); +Boolean ke_is_valid_ptr(VoidPtr ptr); +voidPtr ke_new_ke_heap(SizeT sz, const bool rw, const bool user); +} // namespace HCore |
