|
NeKernel dev
|
: Memory allocation support for the NeKernel. More...
#include <KernelKit/KPC.h>#include <NeKit/KernelPanic.h>#include <hint/CompilerHint.h>#include <KernelKit/HeapMgr.inl>Go to the source code of this file.
Namespaces | |
| namespace | Kernel |
| UPS inline definitions. | |
Functions | |
| Int32 | Kernel::mm_free_ptr (VoidPtr heap_ptr) |
| Declare pointer as free. | |
| Boolean | Kernel::mm_is_valid_ptr (VoidPtr heap_ptr) |
| Check if pointer is a valid Kernel pointer. | |
| VoidPtr | Kernel::mm_alloc_ptr (SizeT sz, Bool wr, Bool user, SizeT pad_amount=0) |
| Allocate chunk of memory. | |
| Boolean | Kernel::mm_protect_ptr (VoidPtr heap_ptr) |
| Protect the heap with a CRC value. | |
| Int32 | Kernel::mm_make_page (VoidPtr heap_ptr) |
| Makes a Kernel page. | |
| Int32 | Kernel::mm_set_ptr_flags (VoidPtr heap_ptr, UInt64 flags) |
| Overwrites and set the flags of a heap header. | |
| UInt64 | Kernel::mm_get_ptr_flags (VoidPtr heap_ptr) |
| Gets the flags of a heap header. | |
: Memory allocation support for the NeKernel.