C# Class Kernel.MemorySegment

Exibir arquivo Open project: kthompson/csharpos

Public Methods

Method Description
AllocateMemory ( uint size ) : MemorySpace
FreeMemory ( MemorySpace space ) : void

Protected Methods

Method Description
MemorySegment ( uint startAddress, uint size ) : System

Private Methods

Method Description
AllocateMemoryInternal ( uint size ) : MemorySpace
JoinFreeSpace ( uint size ) : MemorySpace
Slice ( uint size, MemorySpace n ) : MemorySpace

Method Details

AllocateMemory() public method

public AllocateMemory ( uint size ) : MemorySpace
size uint
return MemorySpace

FreeMemory() public method

public FreeMemory ( MemorySpace space ) : void
space MemorySpace
return void

MemorySegment() protected method

protected MemorySegment ( uint startAddress, uint size ) : System
startAddress uint
size uint
return System