diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-29 18:17:47 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-29 18:18:59 +0100 |
| commit | 65254486efff0fd1bb78a48ff90b7713a5ce539f (patch) | |
| tree | 20ce02c12a74ba9e6cd382bf9c1f09a0c611cb4d /Private/NewKit/KernelHeap.hpp | |
| parent | f03986937db0b927da4b10554801e18e4dc7c43f (diff) | |
Kernel: Update TODO.
Src: Refactorings according to clang-format.
Meta: Update specification.
Public: Remove useless UIKit.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/NewKit/KernelHeap.hpp')
| -rw-r--r-- | Private/NewKit/KernelHeap.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Private/NewKit/KernelHeap.hpp b/Private/NewKit/KernelHeap.hpp new file mode 100644 index 00000000..13037aa1 --- /dev/null +++ b/Private/NewKit/KernelHeap.hpp @@ -0,0 +1,23 @@ +/* + * ======================================================== + * + * hCore + * Copyright 2024 Mahrouss Logic, all rights reserved. + * + * ======================================================== + */ + +#pragma once + +// last-rev 5/03/23 +// file: KHeap.hpp +// description: heap allocation for the kernel. + +#include <NewKit/Defines.hpp> +#include <NewKit/Pmm.hpp> + +namespace hCore +{ + Int32 kernel_delete_ptr(voidPtr allocatedPtr); + voidPtr kernel_new_ptr(const SizeT &sz, const bool rw, const bool user); +} // namespace hCore |
