The kernel heap - currently a very simple implementation.
Inheritance Hierarchy
Kernel Heap
Namespace: Kernel
Assembly: Kernel (in Kernel.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The Heap type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() ![]() | Heap |
Methods
Name | Description | |
---|---|---|
![]() ![]() | AddBlock |
Adds a contiguous block of memory to the heap so it can be used for allocating memory to objects.
|
![]() ![]() | Alloc |
Attempts to allocate the specified amount of memory from the heap.
|
![]() ![]() | Free |
Frees the specified memory giving it back to the heap.
|
![]() ![]() | GetFixedHeapPtr |
Gets a pointer to the block of memory to allocate to the kernel's fixed heap.
|
![]() ![]() | GetFixedHeapSize |
Gets the size of the block of memory to allocate to the kernel's fixed heap.
|
![]() ![]() | GetNID |
Don't understand what this actually does...anyone care to inform me?
|
![]() ![]() | Init |
Intialises the heap.
|
![]() ![]() | InitFixedHeap |
Intialises the kernel's fixed heap.
|
Fields
Name | Description | |
---|---|---|
![]() ![]() | fblock |
A pointer to the most-recently added heap block.
|
![]() ![]() | FixedHeapInitialised |
Whether the kernel's fixed heap has been initialised or not.
|
Properties
Name | Description | |
---|---|---|
![]() ![]() | FBlock |
A pointer to the most-recently added heap block.
|
See Also