C# Class Mosa.HardwareSystem.MemoryResources

ファイルを表示 Open project: tgiphil/MOSA-Project

Protected Properties

Property Type Description
memoryRegions LinkedList
spinLock SpinLock

Public Methods

Method Description
ClaimResources ( HardwareResources hardwareResources ) : bool

Claims the resources.

GetMemory ( uint address, uint size ) : IMemory

Gets the memory.

MemoryResources ( ) : System.Collections.Generic

Initializes a new instance of the MemoryResources class.

ReleaseResources ( HardwareResources hardwareResources ) : void

Releases the resources.

Method Details

ClaimResources() public method

Claims the resources.
public ClaimResources ( HardwareResources hardwareResources ) : bool
hardwareResources HardwareResources The hardware resources.
return bool

GetMemory() public method

Gets the memory.
public GetMemory ( uint address, uint size ) : IMemory
address uint The address.
size uint The size.
return IMemory

MemoryResources() public method

Initializes a new instance of the MemoryResources class.
public MemoryResources ( ) : System.Collections.Generic
return System.Collections.Generic

ReleaseResources() public method

Releases the resources.
public ReleaseResources ( HardwareResources hardwareResources ) : void
hardwareResources HardwareResources The hardware resources.
return void

Property Details

memoryRegions protected_oe property

protected LinkedList memoryRegions
return LinkedList

spinLock protected_oe property

protected SpinLock,Mosa.HardwareSystem spinLock
return SpinLock