Heap Class Fling OS
The kernel heap - currently a very simple implementation.
Inheritance Hierarchy

System Object
  Kernel Heap

Namespace: Kernel
Assembly: Kernel (in Kernel.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

[PluggedClassAttribute]
public static class Heap

The Heap type exposes the following members.

Constructors

  NameDescription
Private methodStatic memberHeap
Top
Methods

  NameDescription
Public methodStatic memberAddBlock
Adds a contiguous block of memory to the heap so it can be used for allocating memory to objects.
Public methodStatic memberAlloc
Attempts to allocate the specified amount of memory from the heap.
Public methodStatic memberFree
Frees the specified memory giving it back to the heap.
Public methodStatic memberGetFixedHeapPtr
Gets a pointer to the block of memory to allocate to the kernel's fixed heap.
Public methodStatic memberGetFixedHeapSize
Gets the size of the block of memory to allocate to the kernel's fixed heap.
Public methodStatic memberGetNID
Don't understand what this actually does...anyone care to inform me?
Public methodStatic memberInit
Intialises the heap.
Public methodStatic memberInitFixedHeap
Intialises the kernel's fixed heap.
Top
Fields

  NameDescription
Private fieldStatic memberfblock
A pointer to the most-recently added heap block.
Private fieldStatic memberFixedHeapInitialised
Whether the kernel's fixed heap has been initialised or not.
Top
Properties

  NameDescription
Public propertyStatic memberFBlock
A pointer to the most-recently added heap block.
Top
See Also