C# Class Mosa.HardwareSystem.HardwareDevice

Abstract class for hardware devices
Inheritance: Device, IHardwareDevice
Mostrar archivo Open project: tgiphil/MOSA-Project

Protected Properties

Property Type Description
HardwareResources HardwareResources

Public Methods

Method Description
HardwareDevice ( ) : Mosa.HardwareSystem.PCI

Initializes a new instance of the HardwareDevice class.

OnInterrupt ( ) : bool

Called when an interrupt is received.

PreSetup ( IPCIDeviceResource pciDeviceResource ) : bool

Pres the setup.

Setup ( HardwareResources hardwareResources ) : bool

Setups this hardware device driver

Start ( ) : DeviceDriverStartStatus

Starts this hardware device.

Stop ( ) : bool

Stops this hardware device.

Method Details

HardwareDevice() public method

Initializes a new instance of the HardwareDevice class.
public HardwareDevice ( ) : Mosa.HardwareSystem.PCI
return Mosa.HardwareSystem.PCI

OnInterrupt() public abstract method

Called when an interrupt is received.
public abstract OnInterrupt ( ) : bool
return bool

PreSetup() public method

Pres the setup.
public PreSetup ( IPCIDeviceResource pciDeviceResource ) : bool
pciDeviceResource IPCIDeviceResource The pci device resource.
return bool

Setup() public abstract method

Setups this hardware device driver
public abstract Setup ( HardwareResources hardwareResources ) : bool
hardwareResources HardwareResources
return bool

Start() public abstract method

Starts this hardware device.
public abstract Start ( ) : DeviceDriverStartStatus
return DeviceDriverStartStatus

Stop() public method

Stops this hardware device.
public Stop ( ) : bool
return bool

Property Details

HardwareResources protected_oe property

Gets or sets the hardware resources.
protected HardwareResources,Mosa.HardwareSystem HardwareResources
return HardwareResources