C# Class Mosa.HardwareSystem.IOPortResources

显示文件 Open project: tgiphil/MOSA-Project

Public Properties

Property Type Description
portUsed bool[]

Public Methods

Method Description
ClaimResources ( HardwareResources hardwareResources ) : bool

Claims the resources.

GetIOPort ( ushort port, ushort offset ) : IReadWriteIOPort

Gets the IO port.

IOPortResources ( )

Initializes a new instance of the IOPortResources class.

IsPortInISALegacyRegion ( ushort port ) : bool

Determines whether the specific port in ISA legacy region.

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

GetIOPort() public method

Gets the IO port.
public GetIOPort ( ushort port, ushort offset ) : IReadWriteIOPort
port ushort The port.
offset ushort The offset.
return IReadWriteIOPort

IOPortResources() public method

Initializes a new instance of the IOPortResources class.
public IOPortResources ( )

IsPortInISALegacyRegion() public method

Determines whether the specific port in ISA legacy region.
public IsPortInISALegacyRegion ( ushort port ) : bool
port ushort The port.
return bool

ReleaseResources() public method

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

Property Details

portUsed public_oe property

public bool[] portUsed
return bool[]